
3 Dec
2007
3 Dec
'07
12:42 p.m.
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.