Project

General

Profile

Actions

Bug #3074

closed

crypto/libressl/crypto/asn1/tasn_enc.c:650]: (warning) Possible null pointer dereference: cont

Added by dcb over 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
10/11/2017
Due date:
% Done:

0%

Estimated time:

Description

Source code is

if (cout && len)
memcpy(cout, cont, len);

Some paths through the code have cout == NULL. Suggest new code

if (cout && cont && len)
memcpy(cout, cont, len);
Actions

Also available in: Atom PDF