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
Sub-block data of the extension could contain two consecutive zeros.
AFAICT there's no requirement for application extensions to end with 0x00 0x00 (See: http://www.matthewflickinger.com/lab/whatsinagif/bits_and_bytes.asp#plain_text_extension_block. While the NETSCAPE2.0 extension happens to end with 0x00 0x00 only the final 0x00 is considered the block terminator. ). I think the correct approach is to read sub-block sizes and skip each sub-block until the size is 0 (as is done elsewhere).
The text was updated successfully, but these errors were encountered:
AFAICT this is not a valid way to skip unknown application extensions:
x-gif/src/exploder.js
Lines 64 to 65 in 085b0c7
This is because:
0x00 0x00
(See: http://www.matthewflickinger.com/lab/whatsinagif/bits_and_bytes.asp#plain_text_extension_block. While theNETSCAPE2.0
extension happens to end with0x00 0x00
only the final0x00
is considered the block terminator. ). I think the correct approach is to read sub-block sizes and skip each sub-block until the size is 0 (as is done elsewhere).The text was updated successfully, but these errors were encountered: