mhulden / foma

Automatically exported from code.google.com/p/foma
117 stars 90 forks source link

Fix crash on 32-bit systems #78

Closed bmwiedemann closed 6 years ago

bmwiedemann commented 6 years ago

https://bugzilla.opensuse.org/show_bug.cgi?id=1109949

On 32-bit systems like i586, the sizeof a pointer is 4 so too little memory was allocated for the following loop

This bug was found while working on reproducible builds for openSUSE.