Description: Author: Apache authors Origin: upstream, https://github.com/apache/httpd/commit/67bd9bfe Bug: https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2021-26690 Forwarded: not-needed Reviewed-By: Yadd Last-Update: 2021-06-10 --- a/modules/session/mod_session.c +++ b/modules/session/mod_session.c @@ -392,8 +392,8 @@ char *plast = NULL; const char *psep = "="; char *key = apr_strtok(pair, psep, &plast); - char *val = apr_strtok(NULL, psep, &plast); if (key && *key) { + char *val = apr_strtok(NULL, sep, &plast); if (!val || !*val) { apr_table_unset(z->entries, key); }