Update dependencies

This commit is contained in:
Wim
2024-08-27 18:45:48 +02:00
parent d16645c952
commit f04a171086
586 changed files with 681686 additions and 198836 deletions

View File

@@ -554,6 +554,9 @@ func (b *blockDec) prepareSequences(in []byte, hist *history) (err error) {
if debugDecoder {
printf("Compression modes: 0b%b", compMode)
}
if compMode&3 != 0 {
return errors.New("corrupt block: reserved bits not zero")
}
for i := uint(0); i < 3; i++ {
mode := seqCompMode((compMode >> (6 - i*2)) & 3)
if debugDecoder {