diff options
author | Barry Warsaw <barry@python.org> | 2001-11-04 03:04:25 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-11-04 03:04:25 (GMT) |
commit | ebf5427bfacae1c0bc497410626cbb3e995dc214 (patch) | |
tree | ae9a0cd8e41dff348d1e48a228566efe51bb6da1 /Objects/object.c | |
parent | 169ded0d6819f761def726deda19a35c91116674 (diff) | |
download | cpython-ebf5427bfacae1c0bc497410626cbb3e995dc214.zip cpython-ebf5427bfacae1c0bc497410626cbb3e995dc214.tar.gz cpython-ebf5427bfacae1c0bc497410626cbb3e995dc214.tar.bz2 |
Two bug fixes for problems reported by Sverre:
__getaddr(): Watch out for empty addresses that can happen when
something like "MAIL FROM:<CR>" is received. This avoids the
IndexError and rightly returns an SMTP syntax error.
parseargs(): We didn't handle the 2-arg case where both the localspec
and the remotespec were provided on the command line.
Diffstat (limited to 'Objects/object.c')
0 files changed, 0 insertions, 0 deletions