[ 
https://bro-tracker.atlassian.net/browse/BIT-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Slagell updated BIT-1164:
------------------------------

    Affects Version/s:     (was: 2.3)

> 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: git/master, 2.1, 2.2
>            Reporter: Adam Slagell
>            Assignee: Jon Siwek
>            Priority: High
>             Fix For: 2.3
>
>
> 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
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to