[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. ef09ffa85b04f82e253102e7c31e44dfecff6deb

Evergreen Git git at git.evergreen-ils.org
Fri Aug 10 08:11:17 EDT 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_3_1 has been updated
       via  ef09ffa85b04f82e253102e7c31e44dfecff6deb (commit)
      from  46ff8dcbeea5dd81a5b2efabed54e54378404573 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ef09ffa85b04f82e253102e7c31e44dfecff6deb
Author: Mike Rylander <mrylander at gmail.com>
Date:   Fri Jul 7 15:34:57 2017 -0400

    LP#1702978: memcache Remove method used in a variadic way
    
    Related to the OpenSRF branch on this same bug, the prevents Evergreen from
    using a to-be-non-variadic memcache method in that way.  This prevents issues
    for memcache keys that contain a %.
    
    Signed-off-by: Mike Rylander <mrylander at gmail.com>
    Signed-off-by: Cesar Velez <cesar.velez at equinoxinitiative.org>
    Signed-off-by: Jason Stephenson <jason at sigio.com>

diff --git a/Open-ILS/src/c-apps/oils_auth.c b/Open-ILS/src/c-apps/oils_auth.c
index b87d1ca..1836b02 100644
--- a/Open-ILS/src/c-apps/oils_auth.c
+++ b/Open-ILS/src/c-apps/oils_auth.c
@@ -452,7 +452,9 @@ static int oilsAuthVerifyPassword( const osrfMethodContext* ctx, int user_id,
     int verified = 0;
 
     // We won't be needing the seed again, remove it
-    osrfCacheRemove("%s%s%s", OILS_AUTH_CACHE_PRFX, identifier, nonce);
+	char* key = va_list_to_string("%s%s%s", OILS_AUTH_CACHE_PRFX, identifier, nonce ); /**/
+    osrfCacheRemove(key);
+    free(key);
 
     // Ask the DB to verify the user's password.
     // Here, the password is md5(md5(password) + salt)

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

Summary of changes:
 Open-ILS/src/c-apps/oils_auth.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list