scummvm is not 64-bit clean
|Reported by:||SF/duraid||Owned by:||SF/ender|
On an LP64 system, numerous games will crash at costume.cpp:469
*dst = pcolor;
at that point, dst will have a value that looks "like" a pointer, but is not a valid one.
Easiest way to reproduce this one:
1) get a 64-bit system (e.g. x86-64, ia64, ppc64) 2) play sam and max: all you have to do is go downstairs (outside the building) and walk left (or indeed, just walk around) 3) observe the segfault
May I humbly suggest that the scummvm developers do not assume this is a toolchain bug. This bug can be seen on at least the three platforms mentioned above, using a whole range of different compilers. The problem is scummvm. ;)
Ticket imported from: #924337. Ticket imported from: bugs/1567.