apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42760] - Atomic hash_mutex overwritten on multiple calls to apr_atomic_init
Date Thu, 28 Jun 2007 11:36:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42760>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42760





------- Additional Comments From davi@apache.org  2007-06-28 04:36 -------
apr_atomic_init is already called by apr_initialize, so it shouldn't be called directly (this
should
be noted in the docs..). Unfortunately, the patch won't work because calling in sequence
apr_initialize, apr_terminate, apr_initialize, hash_mutex will point to a non-existent resource.

Small nitpick: don't use plain integer as NULL pointer

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message