[SCM] UID Wrapper Repository - branch master updated

Andreas Schneider asn at samba.org
Thu Jan 8 02:48:12 MST 2015


The branch, master has been updated
       via  87dc54b uwrap: Make sure we leave if the id is NULL.
      from  ddafdd6 tests: Add new test_thread_create_thread_setgid.

https://git.samba.org/?p=uid_wrapper.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 87dc54b173bc15db556b38fe7f3a529e40975a26
Author: Andreas Schneider <asn at samba.org>
Date:   Thu Jan 8 10:10:52 2015 +0100

    uwrap: Make sure we leave if the id is NULL.
    
    CID #97616
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>

-----------------------------------------------------------------------

Summary of changes:
 src/uid_wrapper.c | 1 +
 1 file changed, 1 insertion(+)


Changeset truncated at 500 lines:

diff --git a/src/uid_wrapper.c b/src/uid_wrapper.c
index 44ef8c1..1d49a85 100644
--- a/src/uid_wrapper.c
+++ b/src/uid_wrapper.c
@@ -656,6 +656,7 @@ static void uwrap_pthread_exit(void *retval)
 	if (id == NULL) {
 		UWRAP_UNLOCK(uwrap_id);
 		libpthread_pthread_exit(retval);
+		return;
 	}
 
 	UWRAP_DLIST_REMOVE(uwrap.ids, id);


-- 
UID Wrapper Repository


More information about the samba-cvs mailing list