[SCM] Samba Shared Repository - branch master updated
Ralph Böhme
slow at samba.org
Wed Mar 4 10:44:02 UTC 2020
The branch, master has been updated
via 4d784590a9c [s4] possible memleak in torture vfs-fruit
from f89c7ad8516 smbd: ignore set NTACL requests which contain S-1-5-88 NFS ACEs
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 4d784590a9cf36d404f65a17dbb94c4878722741
Author: Swen Schillig <swen at linux.ibm.com>
Date: Wed Jan 22 11:55:46 2020 +0100
[s4] possible memleak in torture vfs-fruit
The allocated memory for "full_name" must be free'd
before returning to caller.
Signed-off-by: Swen Schillig <swen at linux.ibm.com>
Reviewed-by: Ralph Boehme <slow at samba.org>
Reviewed-by: David Disseldorp <ddiss at samba.org>
Autobuild-User(master): Ralph Böhme <slow at samba.org>
Autobuild-Date(master): Wed Mar 4 10:43:54 UTC 2020 on sn-devel-184
-----------------------------------------------------------------------
Summary of changes:
source4/torture/vfs/fruit.c | 1 +
1 file changed, 1 insertion(+)
Changeset truncated at 500 lines:
diff --git a/source4/torture/vfs/fruit.c b/source4/torture/vfs/fruit.c
index 94cbf277677..01d2890e17d 100644
--- a/source4/torture/vfs/fruit.c
+++ b/source4/torture/vfs/fruit.c
@@ -1824,6 +1824,7 @@ static bool check_stream(struct smb2_tree *tree,
status = smb2_create(tree, mem_ctx, &create);
if (!NT_STATUS_IS_OK(status)) {
if (value == NULL) {
+ TALLOC_FREE(full_name);
return true;
}
torture_comment(tctx, "Unable to open stream %s\n", full_name);
--
Samba Shared Repository
More information about the samba-cvs
mailing list