Project

General

Profile

Actions

Bug #3146

closed

scan-build warning for asn1 parser

Added by Victor Julien over 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

util-decode-asn1.c:300:49: warning: Dereference of null pointer (loaded from field 'iter')
    node->id.class_tag = ASN1_BER_GET_CLASS_TAG(*ac->iter);
                                                ^~~~~~~~~
./util-decode-asn1.h:53:16: note: expanded from macro 'ASN1_BER_GET_CLASS_TAG'
             ((id_octet >> 6) & 0x03)           /* (8.1.2.2a) */
               ^~~~~~~~
1 warning generated.

Related issues 1 (1 open0 closed)

Related to Suricata - Task #3153: tracking: scan-build warningsIn ProgressVictor JulienActions
Actions

Also available in: Atom PDF