You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2019/11/09 21:43:09 UTC

svn commit: r1869614 - in /httpd/httpd/branches/2.4.x: CHANGES modules/aaa/mod_authn_socache.c

Author: jailletc36
Date: Sat Nov  9 21:43:09 2019
New Revision: 1869614

URL: http://svn.apache.org/viewvc?rev=1869614&view=rev
Log:
Merge r1865405 from trunk:

Increase the maximum length of strings that can be cached.
PR 62149

Submitted by: <thorsten.meinl knime.com>
Reviewed/backported by: jailletc36, jim, ylavic

Modified:
    httpd/httpd/branches/2.4.x/CHANGES
    httpd/httpd/branches/2.4.x/modules/aaa/mod_authn_socache.c

Modified: httpd/httpd/branches/2.4.x/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/CHANGES?rev=1869614&r1=1869613&r2=1869614&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/CHANGES [utf-8] (original)
+++ httpd/httpd/branches/2.4.x/CHANGES [utf-8] Sat Nov  9 21:43:09 2019
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.4.42
    
+  *) mod_authn_socache: Increase the maximum length of strings that can be cached by
+     the module from 100 to 256.  PR 62149 [<thorsten.meinl knime.com>]
+
   *) core: On Windows, fix a start-up crash if <IfFile ...> is used with a path that is not
      valid (For example, testing for a file on a flash drive that is not mounted)
      [Christophe Jaillet]

Modified: httpd/httpd/branches/2.4.x/modules/aaa/mod_authn_socache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/aaa/mod_authn_socache.c?rev=1869614&r1=1869613&r2=1869614&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/aaa/mod_authn_socache.c (original)
+++ httpd/httpd/branches/2.4.x/modules/aaa/mod_authn_socache.c Sat Nov  9 21:43:09 2019
@@ -350,7 +350,7 @@ static void ap_authn_cache_store(request
     }
 }
 
-#define MAX_VAL_LEN 100
+#define MAX_VAL_LEN 256
 static authn_status check_password(request_rec *r, const char *user,
                                    const char *password)
 {