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)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev