Ticket #777 (closed Problem: fixed)

Opened 3 months ago

Last modified 3 months ago

Leak in DNS manager

Reported by: robin Owned by: jsiwek
Priority: High Milestone: Bro2.1
Component: Bro Version: git/master
Keywords: Cc:

Description

core.leaks.dns reports a leak:

Total: 4 objects
       2  50.0%  50.0%        4 100.0% DNS_Mgr::AddResult DNS_Mgr.cc:706
       2  50.0% 100.0%        2  50.0% copy_string util.cc:77
       0   0.0% 100.0%        4 100.0% DNS_Mgr::Process DNS_Mgr.cc:1169
       0   0.0% 100.0%        2  50.0% DNS_Mapping::DNS_Mapping DNS_Mgr.cc:171
       0   0.0% 100.0%        4 100.0% __libc_start_main ??:0
       0   0.0% 100.0%        4 100.0% main main.cc:1022
       0   0.0% 100.0%        4 100.0% DNS_Mgr::DoProcess DNS_Mgr.cc:1217
       0   0.0% 100.0%        4 100.0% net_run Net.cc:444
       0   0.0% 100.0%        4 100.0% _start ??:0

Change History

comment:1 Changed 3 months ago by jsiwek

  • Owner set to jsiwek
  • Status changed from new to closed
  • Resolution set to fixed

In [1f7bfbb83c6b320d52f4ff91b6fdc426cb03b59a/bro]:

Fix memory leak in DNS manager (fixes #777).

comment:2 Changed 3 months ago by robin

In [d887eb3178c9f50a8808fae6ffe838e52e0a8f72/bro]:

Merge remote-tracking branch 'origin/fastpath'

  • origin/fastpath: GeoIP installation documentation update. Decrease strictness of parsing IPv4 strings into addrs. (fixes #775) Fix memory leak in DNS manager (fixes #777).

Closes #777.

Note: See TracTickets for help on using tickets.