diff options
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/asn1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libsmb/asn1.c b/source3/libsmb/asn1.c index dd22051ae7..937e063c62 100644 --- a/source3/libsmb/asn1.c +++ b/source3/libsmb/asn1.c @@ -74,6 +74,10 @@ BOOL asn1_pop_tag(ASN1_DATA *data) struct nesting *nesting; size_t len; + if (data->has_error) { + return False; + } + nesting = data->nesting; if (!nesting) { |