[Dovecot] BUG: Authentication client sent unknown handshake command

Emmanuel Dreyfus manu at netbsd.org
Wed Dec 4 08:50:31 EET 2013


Emmanuel Dreyfus <manu at netbsd.org> wrote:

> Indeed, when the auth process calls net_getunixname(), getsockname() fills the
> name buffer with garbage. 

I checked with a test program: on a non open, or closed socket,
getsockname() returns -1. However on a socket that was not bound, it
returns 0 and fills the buffer with garbage. I suspect this is a kernel
bug, but how do we reach that situation?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org


More information about the dovecot mailing list