]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix Coverity #159.
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 5 Oct 2007 05:01:38 +0000 (05:01 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 5 Oct 2007 05:01:38 +0000 (05:01 +0000)
commit5a29dd30e0117a59714fa083a946997f2355eede
tree0960316743c77610bbd62da38ed7701c5edaa4f4
parent3adac217627fcd90fc82e3aaa3f141c8d8706324
Fix Coverity #159.

This code was broken if save() returned a negative number since i contained
a boolean value and then we compared i < 0 which should never be true.

Will backport (assuming it's necessary)
Modules/cPickle.c