[ expat-Bugs-423007 ] memory allocation problem in storeAtts()
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 10 May 2001 05:52:45 -0700
Bugs item #423007, was updated on 2001-05-10 05:52
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=423007&group_id=10127
Category: XML::Parser
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Clark Cooper (coopercc)
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.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=423007&group_id=10127