CVSROOT:        /cvs
Module name:    src
Changes by:     gil...@cvs.openbsd.org  2010/11/24 04:09:43

Modified files:
        usr.sbin/smtpd : aliases.c 

Log message:
we can't accept up to MAX_LOCALPART_SIZE (128 bytes) for the user part
of an email address at session time, then fatal() when we can't fit it
in a LOGIN_NAME_MAX (32 bytes) buffer in the aliases expansion code.

fix aliases functions to use a buffer that's appropriate, preventing a
fatal() from being triggered in aliases_exist(). bug experienced by
and reported by Jason Houx, if you're testing smtpd you want to update.

Reply via email to