[tpop3d-discuss] segfault on bad password
prune
prune at lecentre.net
Thu, 16 May 2002 16:29:27 +0200
Michael Klatsky wrote:
>The warnings that I see are:
>
>
>gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/lib/include -Wall
>-Wstrict-prototypes -g -O2 -c auth_ldap.c
>auth_ldap.c:356:9: warning: pasting "." and "mailbox" does not give a
>valid preprocessing token
>auth_ldap.c:356:9: warning: pasting "." and "mailbox" does not give a
>valid preprocessing token
>auth_ldap.c:357:9: warning: pasting "." and "mboxtype" does not give a
>valid preprocessing token
>auth_ldap.c:357:9: warning: pasting "." and "mboxtype" does not give a
>valid preprocessing token
>auth_ldap.c:358:9: warning: pasting "." and "user" does not give a valid
>preprocessing token
>auth_ldap.c:358:9: warning: pasting "." and "user" does not give a valid
>preprocessing token
>auth_ldap.c:359:9: warning: pasting "." and "group" does not give a
>valid preprocessing token
>auth_ldap.c:359:9: warning: pasting "." and "group" does not give a
>valid preprocessing token
>
>...
>
>gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/lib/include -Wall
>-Wstrict-prototypes -g -O2 -c maildir.c
>maildir.c:103:2: warning: #warning IGNORE_CCLIENT_METADATA not supported
>with maildir.
>maildir.c: In function `maildir_send_message':
>maildir.c:177: warning: implicit declaration of function `open'
>
maybe you need to add
#include <fcntl.h>
in maildir.c (or the full path... : #include "/path/to/fcntl.h")
>
>...
>
>gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/lib/include -Wall
>-Wstrict-prototypes -g -O2 -c signals.c
>signals.c: In function `die_signal_handler':
>signals.c:132: warning: implicit declaration of function `memset'
>
add
#include <string.h>
in signals.c
and recompile....
else, you can try to truss the execution on tpop3d, to see on which
system call the process dies
Cheers,
Prune