lantiq: Fix fw_cutter LzmaWrapper

This commit is contained in:
CN_SZTL 2019-10-19 08:26:53 +08:00
parent 7b35c1b0f0
commit a546c0b3bc
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -153,7 +153,7 @@ int lzma_inflate(unsigned char *source, int s_len, unsigned char *dest, int *d_l
outStream = 0;
else
{
if (outSizeFull > d_len)
if (outSizeFull > *d_len)
outStream = 0;
else
outStream = dest;