Thanks for the great report!
It was an uninitialized variable :-(
Now fixed in CVS.

Aaron


Blake Mitchell <[EMAIL PROTECTED]> said:

> Running dbmail-smtp with no arguments causes a segfault after the usage 
> is printed. Not a big deal, but may be worth fixing. This was built from 
> CVS on Wednesday.
> 
> [EMAIL PROTECTED] blake]$ gdb dbmail-smtp
> GNU gdb Red Hat Linux (5.2-2)
> Copyright 2002 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"...
> (gdb) r
> Starting program: /usr/local/sbin/dbmail-smtp
> 
> *** DBMAIL: dbmail-smtp version $Revision: 1.57 $ (c) 1999-2004 IC&S, 
> The Netherlands
> 
> Usage: /usr/local/sbin/dbmail-smtp -n [headerfield]   for normal 
> deliveries (default: "deliver-to")
>         /usr/local/sbin/dbmail-smtp -m "mailbox"       for delivery to a 
> specific mailbox
>         /usr/local/sbin/dbmail-smtp -d [addresses]     for delivery 
> without using scanner
>         /usr/local/sbin/dbmail-smtp -u [usernames]     for direct 
> delivery to users
>         /usr/local/sbin/dbmail-smtp -r return path     for address of 
> bounces and other error reports
>         /usr/local/sbin/dbmail-smtp -f config file     for alternate 
> configuration file
> 
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x4207ad55 in free () from /lib/i686/libc.so.6
> (gdb) bt
> #0  0x4207ad55 in free () from /lib/i686/libc.so.6
> #1  0x0804965c in main (argc=1634038388, argv=0x6d) at main.c:457
> #2  0x203a2928 in ?? ()
> Cannot access memory at address 0x6e69616d
> _______________________________________________
> Dbmail-dev mailing list
> Dbmail-dev@dbmail.org
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
> 



-- 



Reply via email to