Bug 13737 - Memory leak in lib/audit_logging
Summary: Memory leak in lib/audit_logging
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.9.4
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on: 13714
Blocks:
  Show dependency treegraph
 
Reported: 2019-01-08 21:20 UTC by Gary Lockyer
Modified: 2019-02-05 14:13 UTC (History)
3 users (show)

See Also:


Attachments
Patch for 4.9 (1.24 KB, patch)
2019-01-08 21:30 UTC, Gary Lockyer
gary: review? (abartlet)
timbeale: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Lockyer 2019-01-08 21:20:44 UTC
Talloc context in audit_message_send is not created. So the memory is being allocated on the NULL context.  Should not be an issue on production servers, as the message send code is only used for testing.
Comment 1 Gary Lockyer 2019-01-08 21:30:18 UTC
Created attachment 14758 [details]
Patch for 4.9
Comment 2 Karolin Seeger 2019-01-31 09:58:39 UTC
Pushed to autobuild-v4-9-test.
Comment 3 Karolin Seeger 2019-02-05 14:13:14 UTC
(In reply to Karolin Seeger from comment #2)
Pushed to v4-9-test.
Closing out bug report.

Thanks!