The Samba-Bugzilla – Bug 11201
CTDB contains potential buffer overflows, unchecked memory allocation failures, resource leaks
Last modified: 2015-04-20 19:37:43 UTC
This is to backport fixes for known memory/resource issues to 4.2.1.
These commits from master:
470af88 ctdb-tools: Fix heap-use-after-free problem
621bd07 ctdb: Fix 1125553 Buffer not null terminated
f724bfb ctdb: Fix CID 1288201 Array compared against 0
d171d20 ctdb: Fix CID 1125613 Destination buffer too small
93d4e80 ctdb: Fix CID 1125634 Out-of-bounds write
508b45f ctdb: Fix CID 1125615 Copy into fixed size buffer
801bdcd ctdb: Coverity fix for CID 1291643
12309f8 ctdb: check for talloc_asprintf() failure
Also the following so that d171d20 applied cleanly:
a8cc495 ctdb: Make for-loop in ctdb_get_script_list more idiomatic
c1e8bfb ctdb: Fix memleak in ctdb_get_script_list
8d9bb5c ctdb: Introduce a helper var in ctdb_get_script_list
Created attachment 10937 [details]
Patches for 4.2
More fixes for 4.2.1.
(In reply to Amitay Isaacs from comment #3)
the release branch for 4.2.1 has been frozen yesterday. Does 4.2.2 work for you?
Pushed to autobuild-v4-2-test.
(In reply to Karolin Seeger from comment #5)
Pushed to v4-2-test.
Closing out bug report.