[SCM] Socket Wrapper Repository - branch master updated
Michael Adam
obnox at samba.org
Tue Oct 25 16:04:08 UTC 2016
The branch, master has been updated
via 85c2d66 swrap: fix SWRAP_DLIST_ADD_AFTER
from 9ce583b swrap: fix use-after-free in swrap_remove_stale()
https://git.samba.org/?p=socket_wrapper.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 85c2d663ec4dc7dc0170df676721e9a63f18fe40
Author: Anoop C S <anoopcs at redhat.com>
Date: Tue Oct 25 15:56:20 2016 +0200
swrap: fix SWRAP_DLIST_ADD_AFTER
Pair-Programmed-With: Michael Adam <obnox at samba.org>
Signed-off-by: Anoop C S <anoopcs at redhat.com>
Signed-off-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 40e2f04..d40f8b6 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -211,7 +211,7 @@ enum swrap_dbglvl_e {
#define SWRAP_DLIST_ADD_AFTER(list, item, el) \
do { \
- if ((list) != NULL || (el) != NULL) { \
+ if ((list) == NULL || (el) == NULL) { \
SWRAP_DLIST_ADD(list, item); \
} else { \
(item)->prev = (el); \
--
Socket Wrapper Repository
More information about the samba-cvs
mailing list