[SCM] Socket Wrapper Repository - branch master updated
Michael Adam
obnox at samba.org
Tue Oct 25 21:21:18 UTC 2016
The branch, master has been updated
via 63d83be swrap: Fix use-after-free
from 85c2d66 swrap: fix SWRAP_DLIST_ADD_AFTER
https://git.samba.org/?p=socket_wrapper.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 63d83be5925bcefc64275be5ccb2312596bf5ce8
Author: Anoop C S <anoopcs at redhat.com>
Date: Tue Oct 25 22:33:10 2016 +0530
swrap: Fix use-after-free
This was introduced by commit 9ce583b6cd6f55d473e5b54794fb06450997ebc8
Signed-off-by: Anoop C S <anoopcs at redhat.com>
Reviewed-by: Michael Adam <obnox at samba.org>
Reviewed-by: Andreas Schneider <asn at samba.org>
-----------------------------------------------------------------------
Summary of changes:
src/socket_wrapper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changeset truncated at 500 lines:
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index d40f8b6..ece5a10 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -1733,7 +1733,7 @@ static void swrap_remove_stale(int fd)
SWRAP_DLIST_REMOVE(socket_fds, fi);
free(fi);
- si = &sockets[fi->si_index];
+ si = &sockets[si_index];
si->refcount--;
if (si->refcount > 0) {
--
Socket Wrapper Repository
More information about the samba-cvs
mailing list