Changeset: d1a611836274 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/d1a611836274
Modified Files:
        monetdb5/mal/mal_authorize.c
Branch: userprofile
Log Message:

lookup of username just failed, ie don't use it in the error (will crash or 
print (null)).


diffs (12 lines):

diff --git a/monetdb5/mal/mal_authorize.c b/monetdb5/mal/mal_authorize.c
--- a/monetdb5/mal/mal_authorize.c
+++ b/monetdb5/mal/mal_authorize.c
@@ -793,7 +793,7 @@ AUTHgetUsername(str *username, Client cn
 {
        if (authCallbackCntx.get_user_name && cntxt) {
                if ((*username = authCallbackCntx.get_user_name(cntxt)) == 
NULL) {
-                       throw(MAL, "getUsername", INVCRED_WRONG_ID" '%s'", 
*username);
+                       throw(MAL, "getUsername", INVCRED_WRONG_ID);
                }
        }
        return(MAL_SUCCEED);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to