|
|
|
@ -261,6 +261,11 @@ static int ea05(cli_ctx *ctx, const uint8_t *base, char *tmpd) { |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (UNP.csize < sizeof(union unaligned_32)) { |
|
|
|
|
cli_dbgmsg("autoit: compressed size too small, skipping\n"); |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!(UNP.inputbuf = cli_malloc(UNP.csize))) |
|
|
|
|
return CL_EMEM; |
|
|
|
|
if (!fmap_need_ptr_once(map, base, UNP.csize)) { |
|
|
|
@ -581,6 +586,11 @@ static int ea06(cli_ctx *ctx, const uint8_t *base, char *tmpd) { |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (UNP.csize < sizeof(union unaligned_32)) { |
|
|
|
|
cli_dbgmsg("autoit: compressed size too small, skipping\n"); |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
files++; |
|
|
|
|
if (!(UNP.inputbuf = cli_malloc(UNP.csize))) |
|
|
|
|
return CL_EMEM; |
|
|
|
|