##// END OF EJS Templates
lazymanifest: avoid reading uninitialized memory...
Jun Wu -
r35828:113a30b8 stable
parent child Browse files
Show More
@@ -778,11 +778,11 b' static PyObject *lazymanifest_diff(lazym'
778 PyObject *outer;
778 PyObject *outer;
779 /* If we're looking at a deleted entry and it's not
779 /* If we're looking at a deleted entry and it's not
780 * the end of the manifest, just skip it. */
780 * the end of the manifest, just skip it. */
781 if (left->deleted && sneedle < self->numlines) {
781 if (sneedle < self->numlines && left->deleted) {
782 sneedle++;
782 sneedle++;
783 continue;
783 continue;
784 }
784 }
785 if (right->deleted && oneedle < other->numlines) {
785 if (oneedle < other->numlines && right->deleted) {
786 oneedle++;
786 oneedle++;
787 continue;
787 continue;
788 }
788 }
General Comments 0
You need to be logged in to leave comments. Login now