mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 08:38:14 +01:00
Bounds check "x >> y".
This commit is contained in:
1 parent
51da37c661
commit
5a0aea66a3
4 files changed
+29
No files matched your search
@@ -29,6 +29,8 @@ pub func lzw_decoder.decode?(dst ptr io.buf1, src ptr io.buf1, src_final bool)()
|
||||
bits |= 0 // TODO.
|
||||
n_bits += 8
|
||||
}
|
||||
// TODO: var code u32[..4095] = bits.low_bits(width)
|
||||
bits >>= width
|
||||
|
||||
// TODO: implement.
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user