Let "x != lo" narrow x's bounds lo..hi.

This commit is contained in:
Nigel Tao committed 2017-06-10 14:43:16 +10:00
1 parent 9d0558df5a
commit 98a07921b1
4 files changed
+127 -111

No files matched your search

+7 -1
View File
@@ -269,7 +269,13 @@ label_0_continue:;
goto cleanup0;
} else if (v_code <= v_save_code) {
v_s = 4095;
v_s = (0 * v_s);
while (v_s != 0) {
if (v_s == 0) {
status = puffs_gif_error_bad_gif_image;
goto cleanup0;
}
v_s -= 1;
}
} else {
status = puffs_gif_error_bad_gif_image;
goto cleanup0;