mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-04 17:00:11 -05:00
Fix dereference after null check, CID 1576008
This commit is contained in:
parent
f3ac2c0c6f
commit
31b046cf98
@ -4402,8 +4402,8 @@ int main(int argc, char **argv)
|
||||
/* Obtain an existing PKCS#7 signature from a "sigin" file */
|
||||
p7 = pkcs7_get_sigfile(ctx);
|
||||
if (!p7) {
|
||||
printf("Unable to extract valid signature\n");
|
||||
PKCS7_free(cursig);
|
||||
DO_EXIT_0("Unable to extract valid signature\n");
|
||||
}
|
||||
if (ctx->format->process_data) {
|
||||
ctx->format->process_data(ctx, hash, outdata);
|
||||
|
Loading…
x
Reference in New Issue
Block a user