[issue5389] Uninitialized variable may be used in PyUnicode_DecodeUTF7Stateful()

Guido van Rossum report at bugs.python.org
Mon Mar 2 22:56:04 CET 2009


Guido van Rossum <guido at python.org> added the comment:

It looks like it was fixed in 2.6 by adding an assignment to startinpos
to this block:

       else if (SPECIAL(ch,0,0)) {
           startinpos = s-starts;     /* <---------- This was added */
           errmsg = "unexpected special character";
           s++;
           goto utf7Error;
       }

Are we going to release another 2.5, ever?

----------
versions:  -Python 2.6, Python 2.7, Python 3.0, Python 3.1

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


More information about the Python-bugs-list mailing list