[SCM] UID Wrapper Repository - branch master updated

Andreas Schneider asn at samba.org
Tue Jul 16 09:16:30 UTC 2019


The branch, master has been updated
       via  d966dd2 Bump version to 1.2.7
       via  52277f6 uwrap: Fix unsetting the the envname of initial XIDs
      from  e00f045 Bump version to 1.2.6

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


- Log -----------------------------------------------------------------
commit d966dd2709397f334666be681aed8d86e5e9fb28
Author: Andreas Schneider <asn at samba.org>
Date:   Mon Jul 15 16:17:52 2019 +0200

    Bump version to 1.2.7
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Ralph Boehme <slow at samba.org>

commit 52277f6fbc2dc144086234eaae6294f43033566a
Author: Andreas Schneider <asn at samba.org>
Date:   Mon Jul 15 13:58:44 2019 +0200

    uwrap: Fix unsetting the the envname of initial XIDs
    
    This issue got introduced by:
    1c793e19f1cb8cb33defb171c9ae719ec8a820da
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Ralph Boehme <slow at samba.org>

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

Summary of changes:
 CMakeLists.txt    | 4 ++--
 ChangeLog         | 3 +++
 src/uid_wrapper.c | 4 ++--
 3 files changed, 7 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 40c1ded..2fe81b0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,7 +11,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules")
 include(DefineCMakeDefaults)
 include(DefineCompilerFlags)
 
-project(uid_wrapper VERSION 1.2.6 LANGUAGES C)
+project(uid_wrapper VERSION 1.2.7 LANGUAGES C)
 
 # global needed variables
 set(APPLICATION_NAME ${PROJECT_NAME})
@@ -23,7 +23,7 @@ set(APPLICATION_NAME ${PROJECT_NAME})
 #     Increment AGE. Set REVISION to 0
 #   If the source code was changed, but there were no interface changes:
 #     Increment REVISION.
-set(LIBRARY_VERSION "0.0.7")
+set(LIBRARY_VERSION "0.0.8")
 set(LIBRARY_SOVERSION "0")
 
 # add definitions
diff --git a/ChangeLog b/ChangeLog
index 8260f35..e3c6de2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 ChangeLog
 ==========
 
+version 1.2.7 (released 2019-07-15)
+  * Fix unsetting initial XIDs
+
 version 1.2.6 (released 2019-07-15)
   * Fix manpage installation
   * Fix cmake-config installation
diff --git a/src/uid_wrapper.c b/src/uid_wrapper.c
index 84c3ca5..6e4a6da 100644
--- a/src/uid_wrapper.c
+++ b/src/uid_wrapper.c
@@ -1009,12 +1009,12 @@ static unsigned long uwrap_get_xid_from_env(const char *envname)
 	}
 
 	if (env[0] == '\0') {
-		unsetenv("UID_WRAPPER_INITIAL_RUID");
+		unsetenv(envname);
 		return ULONG_MAX;
 	}
 
 	xid = strtoul(env, &endp, 10);
-	unsetenv("UID_WRAPPER_INITIAL_RUID");
+	unsetenv(envname);
 	if (env == endp) {
 		return ULONG_MAX;
 	}


-- 
UID Wrapper Repository



More information about the samba-cvs mailing list