##// END OF EJS Templates
don't return uninitialized memory from bdiff.blocks()...
Erling Ellingsen -
r4131:1ca664c9 default
parent child Browse files
Show More
@@ -251,8 +251,8 b' static struct hunklist diff(struct line '
251 if (pos && l.base && t) {
251 if (pos && l.base && t) {
252 /* generate the matching block list */
252 /* generate the matching block list */
253 recurse(a, b, pos, 0, an, 0, bn, &l);
253 recurse(a, b, pos, 0, an, 0, bn, &l);
254 l.head->a1 = an;
254 l.head->a1 = l.head->a2 = an;
255 l.head->b1 = bn;
255 l.head->b1 = l.head->b2 = bn;
256 l.head++;
256 l.head++;
257 }
257 }
258
258
General Comments 0
You need to be logged in to leave comments. Login now