[Bro-Dev] [JIRA] (BIT-1164) Memory Allocation bug in cq.c
Adam Slagell (JIRA)
jira at bro-tracker.atlassian.net
Thu Mar 20 12:31:49 PDT 2014
Adam Slagell created BIT-1164:
---------------------------------
Summary: Memory Allocation bug in cq.c
Key: BIT-1164
URL: https://bro-tracker.atlassian.net/browse/BIT-1164
Project: Bro Issue Tracker
Issue Type: Problem
Components: Bro
Affects Versions: 2.3
Reporter: Adam Slagell
Assignee: Jon Siwek
Priority: High
Line 107 in cq.c
Seems problematic to use a pointer after it is freed. Extra credit if you know how I found this.
if (cq_resize(hp, 0) < 0) {
free(hp);
memory_allocation -= sizeof(*hp);
return (NULL);
}
--
This message was sent by Atlassian JIRA
(v6.2-OD-10-004-WN#6253)
More information about the bro-dev
mailing list