[issue5108] Invalid UTF-8 ("%s") length in PyUnicode_FromFormatV()

STINNER Victor report at bugs.python.org
Mon May 4 01:38:23 CEST 2009


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> The problem with your patch is that it calls PyUnicode_DecodeUTF8() 
twice

I read your patch: storing the decoded string is the right way to do 
that, but i didn't noticed the "callresult stack".

> Could you test this new version to see if there's still a Valgrind 
report?

I will try to reproduce the crash using my Python fuzzer (Fusil). But 
it looks better (and valid).

Thanks.

----------

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


More information about the Python-bugs-list mailing list