You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's a good point @klauspost ,
the decoder must consume exactly all bits, and not more.
If some bits remain, it should be considered an error.
Something to clarify, and enforce.
The patch now errors when it detects the bitstream isn't complete. This flags the error on all the inputs in extrabits except 0ef619d15539778c4ba2ec7fc51d526226a5b816. That input "overflows" the bitstream and returns BIT_DStream_overflow. The overflowed data is ignored.
It seems that any leftover bits on the sequence stream are ignored.
While it is debatable what it should do, it should either:
Here are a couple of samples with extra bits in the sequences:
extrabits.zip
The text was updated successfully, but these errors were encountered: