[New-bugs-announce] [issue19806] smtpd crashes when a multi-byte UTF-8 sequence is split between consecutive data packets

Petri Lehtinen report at bugs.python.org
Wed Nov 27 07:10:48 CET 2013


New submission from Petri Lehtinen:

>From Illirgway, https://github.com/akheron/cpython/pull/2:

Fix utf-8 bug, when symbol byte chain splits on 2 tcp-packets:

error: uncaptured python exception, closing channel (:'utf-8' codec can't decode byte 0xd0 in position 1474: unexpected end of data [/usr/lib/python3.3/asyncore.py|read|83] [/usr/lib/python3.3/asyncore.py|handle_read_event|441] [/usr/lib/python3.3/asynchat.py|handle_read|178] [/usr/lib/python3.3/smtpd.py|collect_incoming_data|289])

----------
components: Library (Lib)
files: smtpd.patch
keywords: needs review, patch
messages: 204553
nosy: giampaolo.rodola, petri.lehtinen
priority: normal
severity: normal
stage: patch review
status: open
title: smtpd crashes when a multi-byte UTF-8 sequence is split between consecutive data packets
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file32863/smtpd.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19806>
_______________________________________


More information about the New-bugs-announce mailing list