Re: [PATCH] ASN.1: check for error from ASN1_OP_END__ACT actions

2017-11-27 Thread James Morris
On Sun, 26 Nov 2017, Eric Biggers wrote: > Fixes: 42d5ec27f873 ("X.509: Add an ASN.1 decoder") > Cc: # v3.7+ > Signed-off-by: Eric Biggers Reviewed-by: James Morris -- James Morris

[PATCH] ASN.1: check for error from ASN1_OP_END__ACT actions

2017-11-26 Thread Eric Biggers
From: Eric Biggers asn1_ber_decoder() was ignoring errors from actions associated with the opcodes ASN1_OP_END_SEQ_ACT, ASN1_OP_END_SET_ACT, ASN1_OP_END_SEQ_OF_ACT, and ASN1_OP_END_SET_OF_ACT. In practice, this meant the pkcs7_note_signed_info() action (since that was the only user of those opco