[EMAIL PROTECTED] /var/qmail/bin/qmail-inject -h -f ''
Segmentation fault
 
But this is okay:
    qmail-inject -h -f ' '
 
Backtrace:
[EMAIL PROTECTED] q2]# gdb --args ./qmail-inject -h -f ''
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) run
Starting program: /tmp/ql/q2/qmail-inject -h -f ''
 
Program received signal SIGSEGV, Segmentation fault.
0x0804c448 in token822_reverse (ta=0x804fff4) at token822.c:21
21         ta->t[n - i] = temp;
(gdb) backtrace
#0  0x0804c448 in token822_reverse (ta=0x804fff4) at token822.c:21
#1  0x0804a4cf in main (argc=4, argv=0xbfffef44) at qmail-inject.c:751
#2  0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
 
Regards,
 
Clive

Reply via email to