[SCM] Socket Wrapper Repository - branch master updated
Andreas Schneider
asn at samba.org
Thu Mar 21 14:01:03 UTC 2019
The branch, master has been updated
via 344801f swrap: Do not leak buf in swrap_sendmsg()
from 44d9c59 Bump version to 1.2.3
https://git.samba.org/?p=socket_wrapper.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 344801fda7b2b50b1139056168b470ad656c20b5
Author: Andreas Schneider <asn at samba.org>
Date: Thu Mar 21 14:59:30 2019 +0100
swrap: Do not leak buf in swrap_sendmsg()
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Ralph Boehme <slow at samba.org>
-----------------------------------------------------------------------
Summary of changes:
src/socket_wrapper.c | 1 +
1 file changed, 1 insertion(+)
Changeset truncated at 500 lines:
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index 5b82e0c..a9e2a75 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -5910,6 +5910,7 @@ static ssize_t swrap_sendmsg(int s, const struct msghdr *omsg, int flags)
swrap_dir = socket_wrapper_dir();
if (swrap_dir == NULL) {
+ free(buf);
return -1;
}
--
Socket Wrapper Repository
More information about the samba-cvs
mailing list