[Bro-Dev] [JIRA] (BIT-1534) Please merge topic/johanna/stats_smb_leak

Johanna Amann (JIRA) jira at bro-tracker.atlassian.net
Mon Feb 8 15:43:00 PST 2016


Johanna Amann created BIT-1534:
----------------------------------

             Summary: Please merge topic/johanna/stats_smb_leak
                 Key: BIT-1534
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1534
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
    Affects Versions: git/master
            Reporter: Johanna Amann
             Fix For: 2.5


Please merge topic/johanna/stats_smb_leak

It fixes a memory leak in stats.cc and smb.cc. A test that triggers the leak in stats.cc is attached. 

Due to not having access to test traffic I was not actually able to test the smb.cc case, but I am very confident that this triggers a leak and that the patch should fix it (TableVal->Assign needs an Unref for the index value (first parameter; this is the same case as in stats.cc)).



--
This message was sent by Atlassian JIRA
(v7.1.0-OD-06-005#71002)


More information about the bro-dev mailing list