]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
By using _setn instead of _set, this call is setting a pointer to a stack variable
authorBradley Nicholes <bnicholes@apache.org>
Thu, 2 May 2002 22:03:58 +0000 (22:03 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Thu, 2 May 2002 22:03:58 +0000 (22:03 +0000)
commitfd6ae2d04c3df2c8c507c471da67a707102a3422
tree05c17b402c0b0fd15a8acba7b6e43e780b351686
parent6329b2ffbbf4d22d72d328c81d59b7d6f86dd502
By using _setn instead of _set, this call is setting a pointer to a stack variable
in the hash entry.  Once initialize_module() returns, the key pointer in the
hash entry is invalid.  This causes a fault the next time that the hash entry
key is checked.  Calling the _set() version will store a copy of the key which
has the same lifetime as the hash table entry.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94914 13f79535-47bb-0310-9956-ffa450edef68
modules/aaa/mod_auth_digest.c