Correct various places in smtp.c where the reply string might not have been
authorPeter Maydell <pmaydell@chiark.greenend.org.uk>
Tue, 29 Apr 2008 21:05:30 +0000 (21:05 +0000)
committerPeter Maydell <pmaydell@chiark.greenend.org.uk>
Tue, 29 Apr 2008 21:05:30 +0000 (21:05 +0000)
commitd4178eb3eebbf5c51c51cc713df58a2bdaa6bede
treefd069ca5b1db0c9e82039803156442abedd187f2
parent757fa32156f812a166631942816e46e2138ebae3
Correct various places in smtp.c where the reply string might not have been
correctly NUL-terminated. Includes a fix for a particularly nasty and long
standing screwup where the buffer length counting in smhear() was totally
broken for continued lines from the server.
ChangeLog
mts/smtp/smtp.c
mts/smtp/smtp.h