Red Hat Bugzilla – Bug 214213
Last modified: 2013-04-12 14:53:10 EDT
+++ This bug was initially created as a clone of Bug #214207 +++
Description of problem:
mod_auth_kerb seems to corrupt the username:
| XXXXXX - ensc@XXXXX [06/Nov/2006:16:55:32 +0100] "GET ...
| XXXXXX - \x02 [06/Nov/2006:16:55:34 +0100]
| ... using cached name , referer: ...
| ... using cached name o_mini.png, ...
This seems to be caused by the -cache patch which does:
| MK_USER = apr_pstrdup(r->pool, output_token.value);
| rv = apr_pool_userdata_set(r->user, NAMEKEY, NULL, r->connection->pool);
| if (apr_pool_userdata_get(&data, NAMEKEY, r->connection->pool) == APR_SUCCESS
When having a multi-request connection, the 'r->pool' might be freed
while the 'r->connection->pool' is still alive and returns corrupted
I suggest to write
|- MK_USER = apr_pstrdup(r->pool, output_token.value);
|+ MK_USER = apr_pstrdup(r->connection->pool, output_token.value);
which seems to fix the problem for me.
Version-Release number of selected component (if applicable):
-- Additional comment from email@example.com on 2006-11-06 11:11 EST --
Good catch, thanks!
Since Keyword Regression exists, this is a blocker,
not an exception. Cleared exception flag.
Set blocker flag."
Removing the blocker and requesting FasTrack instead.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.