Bug#504704: Crashes on big endian architectures due to incorrect data size used for byte swapping

Gonéri Le Bouder goneri at rulezlan.org
Sun Nov 9 21:20:48 UTC 2008


On Thu, Nov 06, 2008 at 12:51:15PM +0100, Michel Dänzer wrote:
> Package: teeworlds
> Version: 0.4.3-1
> Severity: important
> Tags: patch
> 

> Two swap_endian() calls in e_datafile.c pass the size in bytes instead of in
> number of units to be swapped, resulting in memory corruption and consequent
> crashes.
> 
> The attached patch fixes this and allows teeworlds to work on my PowerBook.
Hi,

Thank you for the patch. Is the bug also present in Teeworlds 0.4.2?

Cheers,

     Gonéri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20081109/d62d6816/attachment.pgp 


More information about the Pkg-games-devel mailing list