
3 Dec
2007
3 Dec
'07
12:59 p.m.
On Mon, Dec 03, 2007 at 12:42:34PM +0100, Arndt Jonasson wrote:
In dump-xsd.c, the variable numSubranges is used in several places for allocating an array of SmiUnsigned32. In one of those places, the number 4 is used literally instead of sizeof(SmiUnsigned32). There exist platforms where sizeof(SmiUnsigned32) == 8 (64-bit AMD 64, for example), and there the program may crash.
I found one and fixed it in the SVN (r7522). Thanks for reporting.
/js
--
Juergen Schoenwaelder Jacobs University Bremen gGmbH
Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany
Fax: +49 421 200 3103 http://www.jacobs-university.de/