Package: habak Version: 0.2.5-2 Severity: normal Tags: patch When you start habak with no habak (no -h* argument) for example: ~$ habak -mS Segmentation fault ~$ Habak is trying to render defualt habak (Image), but without allocating all needed structures.
Attached patch fixes that issue. -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-686 Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2) Versions of packages habak depends on: ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libimlib2 1.2.1-2 powerful image loading and renderi ii libx11-6 2:1.0.3-2 X11 client-side library habak recommends no packages. -- no debconf information
diff -ur habak-0.2.5.orig/src/habak.c habak-0.2.5/src/habak.c --- habak-0.2.5.orig/src/habak.c 2004-12-09 18:02:00.000000000 +0100 +++ habak-0.2.5/src/habak.c 2006-12-05 14:46:29.000000000 +0100 @@ -341,6 +341,7 @@ } /* Dobra, czas na postprocessing */ +if (!first_list_item) flush_habak(); current_list_item=first_list_item; do {