Antoine Pitrou added the comment: > Hum, IIUC, basically what happens is that the user could - and still > can - pass arbitrary bytes as address (which is legtit), but depending > on the encoding, getsockaddr() and friends might blow up when decoding > it.
Shouldn't the surrogateescape error handler (PEP 383) prevent this? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17683> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com