Package: ninvaders
Version: 0.1.1-2
Severity: grave
Tags: upstream patch
Justification: renders package unusable


lowest_ship[] is dimension int[10], k was counting 11 items and
overrunning into alienshoty array, which causes crash in ncurses
later on.



--- aliens.c.old        2003-05-08 15:19:50.000000000 -0400
+++ aliens.c    2010-09-15 22:23:38.000000000 -0400
@@ -163,7 +163,7 @@
        aliens.right=-1;
        aliens.bottom=-1;
        shipnum=0;
-       for (k=0;k<11;k++) {
+       for (k=0;k<ALIENS_MAX_NUMBER_X;k++) {
                lowest_ship[k]=-1;
        }
        




-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32-5-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ninvaders depends on:
ii  libc6                     2.11.2-5       Embedded GNU C Library: Shared lib
ii  libncurses5               5.7+20100313-2 shared libraries for terminal hand

ninvaders recommends no packages.

ninvaders suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to