... | ... |
@@ -2685,6 +2685,9 @@ int cli_checkfp_pe(cli_ctx *ctx, uint8_t *authsha1) { |
2685 | 2685 |
fmap_t *map = *ctx->fmap; |
2686 | 2686 |
SHA1Context sha1; |
2687 | 2687 |
|
2688 |
+ if(!(DCONF & PE_CONF_CATALOG)) |
|
2689 |
+ return CL_EFORMAT; |
|
2690 |
+ |
|
2688 | 2691 |
if(fmap_readn(map, &e_magic, 0, sizeof(e_magic)) != sizeof(e_magic)) |
2689 | 2692 |
return CL_EFORMAT; |
2690 | 2693 |
|