[ expat-Bugs-423007 ] memory allocation problem in storeAtts()

noreply@sourceforge.net noreply@sourceforge.net
Wed, 25 Jul 2001 13:51:47 -0700


Bugs item #423007, was opened at 2001-05-10 05:52
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=423007&group_id=10127

>Category: None
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Nobody/Anonymous (nobody)
Summary: memory allocation problem in storeAtts()

Initial Comment:

xmlparse.c/storeAtts() does the following 

binding->uri = realloc(binding->uri, binding->uriAlloc 
*= 2)

Should read

binding->uriAlloc *= 2 * sizeof (XML_Char)

as it's copying shorts not bytes.


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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-25 13:51

Message:
Logged In: YES 
user_id=3066

The indicated code does not appear to exist in the CVS version of the code (I couldn't find it), so I'm closing this.


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

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