]> granicus.if.org Git - python/commit
Valgrind was reporting an uninitialized read for bad input.
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 6 Jun 2004 20:13:10 +0000 (20:13 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 6 Jun 2004 20:13:10 +0000 (20:13 +0000)
commitfe92eef85b081640e20b787c99282544e148fc1c
treec60317ab670f8cc749ec5cb89efc03390b86c256
parent7b0a5057afaadab77aa20f87681edd89e327ea3c
Valgrind was reporting an uninitialized read for bad input.
This fixes the problem and the test passes.  I'm not sure
the test is really correct though.  It seems like it would
be better to raise an exception.  I think that wasn't done
for backwards compatability.

Bugfix candidate.
Modules/binascii.c