[ expat-Bugs-2412451 ] may be undefined behaver on integer overflow

"SourceForge.net" <[email protected]> Tue, 09 Dec 2008 20:38:32 +0000
Newsgroups gmane.text.xml.expat.bugs
Message-ID <[email protected]>
Bugs item #2412451, was opened at 2008-12-09 21:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=2412451&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: NikeL (gelenberg)
Assigned to: Nobody/Anonymous (nobody)
Summary: may be undefined behaver on integer overflow

Initial Comment:
Hi,

I think in lib/xmlparse.c Revision 1.162 on line 2572
my occur integer overflow on x86_64 platform, cause int < sizeof(void*). There should be used size_t, i think.

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

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