[Expat-bugs] [ expat-Bugs-707464 ] expat 1.95.6 raises "Access violation" on WinXP

SourceForge.net noreply at sourceforge.net
Fri Mar 21 06:33:34 EST 2003


Bugs item #707464, was opened at 2003-03-21 07:38
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=707464&group_id=10127

Category: www.libexpat.org
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Dragos Onac (dragos_o)
Assigned to: Fred L. Drake, Jr. (fdrake)
>Summary: expat 1.95.6 raises "Access violation" on WinXP

Initial Comment:
Running the "elements.c" example on a specific XML file 
causes the Access Violation message do be displayed, 
when the code is compiled without debug info. 

The "Acces violation" issue could also be reproduced  
using the dll from the win32 package.

I don't know how useful this is, but when 
running the "elements.c" example by compiling all the 
files with the NuMega Bounds Checker, the following 
erorr message is shown at line line 1511 of file 
xmlparse.c:
     "Expresion uses dangling pointer"
The line is:
   bufferEnd = buffer + (bufferEnd - bufferPtr) + keep;

(parser->m_bufferEnd-parser->m_bufferPtr)+keep 
equals 2048

Stack trace:
    main()->XML_Parse()->XML_GetBuffer()

Input file is attached.


----------------------------------------------------------------------

>Comment By: Karl Waclawek (kwaclaw)
Date: 2003-03-21 09:33

Message:
Logged In: YES 
user_id=290026

I could not reproduce this.
How exactly did you trigger the AV?
What file did you use?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=707464&group_id=10127



More information about the Expat-bugs mailing list