Project

General

Profile

Actions

Bug #3146

closed

scan-build warning for asn1 parser

Added by Victor Julien about 3 years ago. Updated over 1 year 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 Task #3153: tracking: scan-build warningsNewOISF DevActions
Actions #1

Updated by Victor Julien about 3 years ago

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

Updated by Philippe Antoine over 1 year ago

  • Status changed from New to Closed

Removed asn1 C parser In favor of rust parser commit 275f6ae96f47860e870fddd90c5e787e1b600868

Actions

Also available in: Atom PDF