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 6 years ago. Updated over 3 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 #1

Updated by deef over 3 years ago

  • Status changed from New to Closed

Discussed with swildner on IRC, this should be reported to upstream and DragonFly will import the change when it's updated there.

Actions

Also available in: Atom PDF