]> granicus.if.org Git - python/commit
AddrlistClass.getaddress(): when parsing `:'s, in the loop, watch out
authorBarry Warsaw <barry@python.org>
Mon, 12 Jul 1999 18:37:02 +0000 (18:37 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 12 Jul 1999 18:37:02 +0000 (18:37 +0000)
commit96e9bf45e8978e5f237460ac93e6f03c82cba06d
tree327a7b7560ca04c0edc4ce791d6c5d8866f00d90
parent860e25614786c9c89a0ba4fe097f1e1e09e9cf57
AddrlistClass.getaddress(): when parsing `:'s, in the loop, watch out
for gotonext() pushing self.pos past the end of the string.  This can
happen if the message has a To field like "To: :" and you call
msg.getaddrlist('to').
Lib/rfc822.py