Project

General

Profile

Bug #3146

scan-build warning for asn1 parser

Added by Victor Julien about 1 month ago.

Status:
New
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

Related to Task #3153: tracking: scan-build warningsNewActions

History

#1

Updated by Victor Julien about 1 month ago

  • Related to Task #3153: tracking: scan-build warnings added

Also available in: Atom PDF