|
@@ -620,7 +620,7 @@ STATIC inline int INIT unlzma(unsigned char *buf, long in_len,
|
|
|
|
|
|
num_probs = LZMA_BASE_SIZE + (LZMA_LIT_SIZE << (lc + lp));
|
|
num_probs = LZMA_BASE_SIZE + (LZMA_LIT_SIZE << (lc + lp));
|
|
p = (uint16_t *) large_malloc(num_probs * sizeof(*p));
|
|
p = (uint16_t *) large_malloc(num_probs * sizeof(*p));
|
|
- if (p == 0)
|
|
|
|
|
|
+ if (p == NULL)
|
|
goto exit_2;
|
|
goto exit_2;
|
|
num_probs = LZMA_LITERAL + (LZMA_LIT_SIZE << (lc + lp));
|
|
num_probs = LZMA_LITERAL + (LZMA_LIT_SIZE << (lc + lp));
|
|
for (i = 0; i < num_probs; i++)
|
|
for (i = 0; i < num_probs; i++)
|