summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2009-12-31 15:37:56 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2009-12-31 15:37:56 +0000
commit5ba9eb49ecd85f9b9ca1f202d81eb577548462cb (patch)
tree6c42647d6b8201e4992330935f99a14f3b644bf2 /sys
parente4a9fa1df41cf5958271c8e82af5c52664f5b056 (diff)
when separating command from parameters in smtp session, the parser tries
to use ':' as a separator then fallbacks to ' ' so that it can detect the command names that contain more than one words (MAIL FROM and RCPT TO) or the one word ones (HELO, DATA, ...). this is incorrect and the parser can get confused if the parameter to any command contains a ':', for example "HELO [ipv6:...]" cause the parser to lookup for command "HELO [ipv6". fix this by using ':' as a delimiter for 'mail from' and 'rcpt to', while using ' ' as a delimiter for all other commands. fixes bug 6285/system reported by Lionel Le Folgoc <lionel@lefolgoc.net>
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions