[Python-Dev] [Python-checkins] cpython: avoid unitialized memory

Stephen J. Turnbull stephen at xemacs.org
Fri May 4 14:33:15 CEST 2012


Eric V. Smith writes:

 > > -    PyObject *divmod;
 > > +    PyObject *divmod = NULL;
 > >      divmod = PyNumber_Divmod(py_long, billion);
 > 
 > How is that uninitialized if it's being set on the next line?

Maybe they finally developed a Sufficiently Stupid Compiler?



More information about the Python-Dev mailing list