The branch, master has been updated
       via  3df97e0 uwrap: Make sure prefix is not used uninitialized
      from  18a6057 doc: Document missing options

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


- Log -----------------------------------------------------------------
commit 3df97e0e690fe811f620ee9afef898bf896eb41c
Author: Andreas Schneider <a...@samba.org>
Date:   Fri Nov 13 13:46:24 2015 +0100

    uwrap: Make sure prefix is not used uninitialized
    
    Signed-off-by: Andreas Schneider <a...@samba.org>

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

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


Changeset truncated at 500 lines:

diff --git a/src/uid_wrapper.c b/src/uid_wrapper.c
index ab47dd0..743d590 100644
--- a/src/uid_wrapper.c
+++ b/src/uid_wrapper.c
@@ -156,7 +156,7 @@ static void uwrap_log(enum uwrap_dbglvl_e dbglvl, const 
char *function, const ch
        va_end(va);
 
        if (lvl >= dbglvl) {
-               const char *prefix;
+               const char *prefix = "UWRAP";
                switch (dbglvl) {
                        case UWRAP_LOG_ERROR:
                                prefix = "UWRAP_ERROR";


-- 
UID Wrapper Repository

Reply via email to