]> granicus.if.org Git - apache/commitdiff
Fix a bug in the use of i2d_SSL_SESSION, since it increments the pointer of the buffe...
authorPaul Querna <pquerna@apache.org>
Tue, 12 Jun 2007 00:29:17 +0000 (00:29 +0000)
committerPaul Querna <pquerna@apache.org>
Tue, 12 Jun 2007 00:29:17 +0000 (00:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@546326 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_scache_memcache.c

index 60b9a688e82a5087371bf61077b5f4f7914cbdef..5abe7ba91c695692ab427d948fb34cda020b282b 100644 (file)
@@ -189,7 +189,7 @@ BOOL ssl_scache_mc_store(server_rec *s, UCHAR *id, int idlen,
         return FALSE;
     }
 
-    rv = apr_memcache_set(memctxt, strkey, (char*)ucp, nData, timeout, 0);
+    rv = apr_memcache_set(memctxt, strkey, (char*)ucaData, nData, timeout, 0);
 
     if (rv != APR_SUCCESS) {
         ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s,