Bounds check "x >> y".

This commit is contained in:
Nigel Tao committed 2017-06-02 10:57:56 +10:00
1 parent 51da37c661
commit 5a0aea66a3
4 files changed
+29

No files matched your search

+1
View File
@@ -167,6 +167,7 @@ puffs_gif_status puffs_gif_lzw_decoder_decode(puffs_gif_lzw_decoder* self) {
v_bits |= 0;
v_n_bits += 8;
}
v_bits >>= v_width;
goto label_0_break;
v_n_bits = 0;
}