commit | 96e9bf45e8978e5f237460ac93e6f03c82cba06d | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Mon Jul 12 18:37:02 1999 +0000 |
committer | Barry Warsaw <barry@python.org> | Mon Jul 12 18:37:02 1999 +0000 |
tree | 327a7b7560ca04c0edc4ce791d6c5d8866f00d90 | |
parent | 860e25614786c9c89a0ba4fe097f1e1e09e9cf57 [diff] |
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').