[Expat-bugs] [ expat-Bugs-618199 ] storeRawNames fix for localPart

noreply@sourceforge.net noreply@sourceforge.net
Mon, 07 Oct 2002 13:02:38 -0700


Bugs item #618199, was opened at 2002-10-03 14:53
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=618199&group_id=10127

Category: None
Group: None
Status: Open
Resolution: Accepted
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: storeRawNames fix for localPart

Initial Comment:
When storing the raw names after processing a buffer, the pointer to 
the local-name structure is not updated with the rest of the name 
structures.  This leads to segfaults on my machine.  Also when run 
through valgrind, it reports invalid read accesses. 
 
Supplied is a tiny fix for this problem. 

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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-10-07 16:02

Message:
Logged In: YES 
user_id=3066

For the record:  This was committed as lib/xmlparse.c 1.91.
Converting to a bug report that needs a regression test
written for it.  Will assign to me.  (The "new" bug is the
lack of a corresponding test.)

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

Comment By: Karl Waclawek (kwaclaw)
Date: 2002-10-03 15:25

Message:
Logged In: YES 
user_id=290026

Good catch!
Will apply your patch.

Thanks,

Karl

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

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