[issue5389] Uninitialized variable may be used in PyUnicode_DecodeUTF7Stateful()
Antoine Pitrou
report at bugs.python.org
Sat Feb 28 11:51:11 CET 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
Hmm, I know nothing about UTF7...
Anyway, looking at the code, the utf7Error code path can be called from
the following places (trunk line numbers):
- line 1595, and startinpos was set three lines before
- a bunch of places in the "if (inShift) { ... }" chunk between lines
1537 and 1578; inShift would have had previously been set to 1 and
that's at line 1587, a couple of lines after setting startinpos
So it seems things are fine, but perhaps I'm missing something.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5389>
_______________________________________
More information about the Python-bugs-list
mailing list