Bug#476736: /usr/bin/efix: efix segfaults on text file

2008-04-24 Thread Peter Pöschl
tag 476736 patch thanks #476736 - efax: efix segfaults on text file http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476736 f->font, f->charw, f->charh, f->lmargin, f->pglines are used before set in text_first in efaxlib.c. --- efix.c.origThu Apr 24 20:14:41 2008 +0200 +++ efix.cThu Apr

Bug#476736: /usr/bin/efix: efix segfaults on text file

2008-04-23 Thread Peter Pöschl
The stack after the segfault is (gdb) bt #0 0x00405c11 in text_first (f=0x7fff02871e40) at efaxlib.c:986 #1 0x00405789 in newIFILE (f=0x7fff02871e40, fnames=) at efaxlib.c:1268 #2 0x00401ebf in main (argc=-1474048605, argv=0x7fff02875da8) at efix.c:306 I think the pro

Bug#476736: /usr/bin/efix: efix segfaults on text file

2008-04-22 Thread Peter Pöschl
1) This seems to be a duplicate of archived bug #368011 2) I downloaded efax_0.9a-19.dsc and compiled the sources. ==> the binary segfaults. 3) commenting out 'strip efix' in ./Makefile results in a binary which also segfaults. 4) running it under gdb yields (gdb) run Starting progra

Bug#476736: /usr/bin/efix: efix segfaults on text file

2008-04-18 Thread Peter Poeschl
Package: efax Version: 1:0.9a-19 Severity: important File: /usr/bin/efix to reproduce: $ echo -e "line 1.\nline 2\nline 3" > test $ efix -n test.%03d test efix: Fri Apr 18 22:32:38 2008 efix v 0.3 Copyright 1999 Ed Casas Segmentation fault Does this help? $strace efix -n test.%03d test