Hi,

I got a buffer overflow if a .forward file exists in the user home dir. All mailusers are defined in a userbase table. The mailfolders are located on a NAS and mounted via nfs. Running smtpd -dv gives:

smtp-in: New session 0b5b409e8634b93c from host smtp.aldox.de [local]
*** buffer overflow detected ***: smtpd: [priv] terminated
======= Backtrace: =========
/lib64/libc.so.6(+0x73d6f)[0x7f93fc3c9d6f]
/lib64/libc.so.6(__fortify_fail+0x37)[0x7f93fc44eb67]
/lib64/libc.so.6(+0xf6cc0)[0x7f93fc44ccc0]
/lib64/libc.so.6(+0xf7264)[0x7f93fc44d264]
smtpd: [priv][0x43b118]
smtpd: [priv][0x434365]
smtpd: [priv][0x433f29]
smtpd: [priv][0x419041]
/usr/lib64/libevent-2.0.so.5(event_base_loop+0x77c)[0x7f93fd37e92c]
smtpd: [priv][0x406fd6]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f93fc377a65]
smtpd: [priv][0x4076e1]
======= Memory map: ========
00400000-00464000 r-xp 00000000 08:02 1209229 /usr/sbin/smtpd 00664000-00665000 r--p 00064000 08:02 1209229 /usr/sbin/smtpd 00665000-00666000 rw-p 00065000 08:02 1209229 /usr/sbin/smtpd 00666000-0072b000 rw-p 00000000 00:00 0 [heap]
...
<snip> --> some more libraries

System: Gentoo 64 multilib, opensmtpd-5.4.4_p1, libasr-1.0.0, glibc-2.20.

Does anybody see the root cause? Is it a bug?

Kai


--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to