]> Cypherpunks repositories - gostls13.git/commit
net/mail: avoid panic in (*Address).String for malformed addresses.
authorDavid Symonds <dsymonds@golang.org>
Tue, 11 Aug 2015 05:05:12 +0000 (15:05 +1000)
committerDavid Symonds <dsymonds@golang.org>
Tue, 11 Aug 2015 05:07:30 +0000 (05:07 +0000)
commit1d75b40de8ecfaa947e1d61311d3a725fe4ec575
tree7fe7d8a5f2559c9c1593c3969aa0e5655dae366f
parent546836556d202c9667ad6530710bae6a982d427e
net/mail: avoid panic in (*Address).String for malformed addresses.

Fixes #12098.

Change-Id: I190586484cd34856dccfafaba60eff0197c7dc20
Reviewed-on: https://go-review.googlesource.com/13500
Reviewed-by: Rob Pike <r@golang.org>
src/net/mail/message.go
src/net/mail/message_test.go