decompress(Buffer.from('000001','hex')).catch((err)=>{console.log(err)})
> TypeError: Cannot read property 'toString' of undefined
at module.exports (/Users/yevgenyp/fuzzitdev/jsfuzz/examples/bzip2/node_modules/decompress-unzip/node_modules/file-type/index.js:207:67)
at /Users/yevgenyp/fuzzitdev/jsfuzz/examples/bzip2/node_modules/decompress-unzip/index.js:81:7
at /Users/yevgenyp/fuzzitdev/jsfuzz/examples/bzip2/node_modules/decompress/index.js:19:43
at Array.map (<anonymous>)
at runPlugins (/Users/yevgenyp/fuzzitdev/jsfuzz/examples/bzip2/node_modules/decompress/index.js:19:34)
at extractFile (/Users/yevgenyp/fuzzitdev/jsfuzz/examples/bzip2/node_modules/decompress/index.js:22:46)
at /Users/yevgenyp/fuzzitdev/jsfuzz/examples/bzip2/node_modules/decompress/index.js:95:26
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Hey,
Found a bug that can be reproduced with:
found using jsfuzz