Package: bb Version: 1.3rc1-5 Severity: grave Tags: patch Justification: renders package unusable
bb segfaults on amd64 after playing for several minutes. The attached patch (a fix by Lennart Sorensen) fixes the bug. I've also tested the patch on an i386 system just to be safe. -- System Information: Debian Release: 3.1 Architecture: amd64 (x86_64) Kernel: Linux 2.6.11.6 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages bb depends on: ii aalib1 1.4p5-22 ascii art library ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libmikmod2 3.1.11-a-6 A portable sound library ii libncurses5 5.4-4 Shared libraries for terminal hand ii slang1 1.4.9dbs-8 The S-Lang programming library - r -- no debconf information
diff -Naur bb-1.3rc1.orig/tex.c bb-1.3rc1/tex.c --- bb-1.3rc1.orig/tex.c 2001-04-26 08:52:27.000000000 -0700 +++ bb-1.3rc1/tex.c 2005-04-12 20:15:41.000000000 -0700 @@ -92,7 +92,7 @@ static inline void clear_zbuff() { - memset(zbuff, 0x55, (X_s * Y_s * sizeof(long))); + memset(zbuff, 0x55, (X_s * Y_s * sizeof(int))); }