homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients lemburg, skrah
Date 2010年07月16日.11:10:57
SpamBayes Score 0.0003024549
Marked as misclassified No
Message-id <1279278661.01.0.639978151533.issue9242@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a minimal example how to reproduce this issue, extracted from
UTF32LETest.
valgrind --db-attach=yes --suppressions=Misc/valgrind-python.supp ./python uninitialized.py
It seems that in Lib/codecs.py the equivalent of "\x00".decode('utf-32-le')
is called (line 477).
This leads to:
PyUnicodeUCS2_DecodeUTF32Stateful (s=0x5b0fc0c "", size=1, errors=0x5add144 "strict", byteorder=0x7fefff39c, 
 consumed=0x0)
So we have a string of size 1, but s[2] and s[3] will be accessed
in the function.
History
Date User Action Args
2010年07月16日 11:11:01skrahsetrecipients: + skrah, lemburg
2010年07月16日 11:11:01skrahsetmessageid: <1279278661.01.0.639978151533.issue9242@psf.upfronthosting.co.za>
2010年07月16日 11:10:59skrahlinkissue9242 messages
2010年07月16日 11:10:58skrahcreate

AltStyle によって変換されたページ (->オリジナル) /