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
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
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
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
4 matches
Mail list logo