mirror of
https://github.com/billsonnn/nitro-converter.git
synced 2024-11-29 18:50:51 +01:00
Merge branch 'patch/buffer-checks' into 'master'
check the right buffer See merge request nitro/nitro-converter!7
This commit is contained in:
commit
4c6b65eef9
@ -368,7 +368,7 @@ function uncompress(swf, next)
|
|||||||
|
|
||||||
zlib.inflate(compressed_buff, function(err, buf)
|
zlib.inflate(compressed_buff, function(err, buf)
|
||||||
{
|
{
|
||||||
if(!Buffer.isBuffer(compressed_buff))
|
if(!Buffer.isBuffer(buf))
|
||||||
{
|
{
|
||||||
readSWFBuff(null, swf, next);
|
readSWFBuff(null, swf, next);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user