[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug report



Hi Matti,

router dumps core if a local user doesn't exist:

goldt@sunrbg6 [94]% (~): /usr/ucb/mail -v nosuchuser
Subject: test

bla
.
EOT
[...]
goldt@sunrbg6 [96]% (~): mailq -ss
1 entry in router queue: core dumped
0 messages in transport queue: idle
=>
gdb router core says:
(gdb) where
#0  0xef663d50 in strlen ()
#1  0xef6a1f8c in _doprnt ()
#2  0xef6aac4c in _fprintf ()
#3  0x25ec0 in sequencer ()
#4  0x20d68 in run_rfc822 ()
#5  0x3e7b4 in execute ()
#6  0x30fb4 in ioop ()
#7  0x32bd8 in interpret ()
#8  0x34b5c in lapply ()
#9  0x34c08 in apply ()
#10 0x1f7e8 in s_apply ()
#11 0x19e44 in dohup ()
#12 0x1a198 in dohup ()
#13 0x1a504 in run_daemon ()
#14 0x17994 in main ()

In the router dir the following files existed:
-r--rw----   1 goldt    root         116 Sep  3 11:12 .18951-216.216
-rw-------   1 goldt    users         86 Sep  3 11:12 18951-216

Content of .18951-216.216:
goldt@sunrbg6 [10]% (.../zmailer/router): m .18951-216.216 
v ../public/v_a003aL
i 18951-216
o 81
l <97Sep3.111224+0200_met_dst.18951-216+14@sunrbg6.informatik.tu-muenchen.de>

Content of 18951-216:
verbose "../public/v_a003aL"
to nosuchuser
To: nosuchuser
Subject: test
Content-Length: 5


bla

Greets, Sven
-- 
PGP public key at http://www.informatik.tu-muenchen.de/~goldt/pgp/pubkey