Project

General

Profile

Actions

Bug #7996

closed
SB SB

Bug #7887: detect/tls: zero characters in keywords such as alt name are mishandled

tls: certificate SAN is freed in case of any error

Bug #7996: tls: certificate SAN is freed in case of any error

Added by Shivani Bhardwaj about 1 year ago. Updated 12 months ago.

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

Description

The connp object must retain all certificate params that have been parsed successfully for a match later on. In case of an error during decoding/parsing SAN are freed from connp. This works so far because it is the last field to be parsed and if it errors out, it does not exist anyway. However, this leaves room for memory errors.


Subtasks 1 (0 open — 1 closed)

Bug #8020: tls: certificate SAN is freed in case of any error (8.0.x backport)ClosedShivani BhardwajActions
Actions

Also available in: PDF Atom