You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/12/01 18:58:06 UTC

DO NOT REPLY [Bug 17191] - Patch for mod_auth_digest to remove use of tmpnam

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17191>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17191

Patch for mod_auth_digest to remove use of tmpnam

trawick@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From trawick@apache.org  2003-12-01 17:58 -------
Note that the logic from your patch, which I copied below, is usually going to
segfault.  Also, the associated feature of mod_auth_digest is disabled via
"#define APR_HAS_SHARED_MEMORY 0" until other problems are resolved.  For now
I'm marking the PR as invalid, but feel free to re-open if you can correct this
issue (see doc for apr_file_mktemp()) and submit a new, tested patch.  Thanks!

+    char *shm_create_name;
 
-    /* set up client list */
+    sts = apr_file_mktemp(&tmpfile, shm_create_name, 0, ctx);

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org