-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Description
Attempting to decode bytes 474946383961494638fd627a4421
raises an error:
TypeError: Cannot read property 'toString' of undefined
It seems to happen on line 459 of omggif.js
:
"Unknown graphic control label: 0x" + buf[p-1].toString(16));
This code reproduces:
const omggif = require('omggif')
const bytes = Buffer.from('474946383961494638fd627a4421', 'hex')
omggif.GifReader(bytes)
This was found by running jsfuzz on the module.
Metadata
Metadata
Assignees
Labels
No labels