diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2015-12-12 14:15:54 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2015-12-12 14:15:54 +0000 |
commit | 81609ff9487e1b3a37caef29d1fb665d815e5c07 (patch) | |
tree | 25edc15b70ce6abb7eb23533a7a44af0588a4fe9 /usr.sbin/smtpd | |
parent | 0e79968a1ae406e8eedefd53a25bf2944362525c (diff) |
do not limit smtp session username to LOGIN_NAME_MAX it could be a virtual
username
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/smtp_session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c index 710034cf0e8..20eb498ec62 100644 --- a/usr.sbin/smtpd/smtp_session.c +++ b/usr.sbin/smtpd/smtp_session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtp_session.c,v 1.253 2015/12/12 14:01:56 gilles Exp $ */ +/* $OpenBSD: smtp_session.c,v 1.254 2015/12/12 14:15:53 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -128,7 +128,7 @@ struct smtp_session { char helo[LINE_MAX]; char cmd[LINE_MAX]; - char username[LOGIN_NAME_MAX]; + char username[SMTPD_MAXMAILADDRSIZE]; struct envelope evp; |