You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2007/04/07 12:25:04 UTC
DO NOT REPLY [Bug 42066] New: - apr_bucket_alloc crash when apr_allocator_alloc fails
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=42066>.
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=42066
Summary: apr_bucket_alloc crash when apr_allocator_alloc fails
Product: APR
Version: HEAD
Platform: PC
OS/Version: All
Status: NEW
Keywords: PatchAvailable
Severity: major
Priority: P3
Component: APR-util
AssignedTo: bugs@apr.apache.org
ReportedBy: serai@lans-tv.com
If apr_allocator_alloc at apr_buckets_alloc.c line 129 and 142 fails, SEGV
occurs. It should abort when APR_POOL_DEBUG is enabled.
Or even if APR_POOL_DEBUG is disabled, should apr_bucket_alloc return NULL?
--
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
DO NOT REPLY [Bug 42066] - apr_bucket_alloc crash when apr_allocator_alloc fails
Posted by bu...@apache.org.
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=42066>.
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=42066
poeml@suse.de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |poeml@suse.de
--
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
DO NOT REPLY [Bug 42066] - apr_bucket_alloc crash when apr_allocator_alloc fails
Posted by bu...@apache.org.
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=42066>.
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=42066
wrowe@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |enhancement
------- Additional Comments From wrowe@apache.org 2007-10-16 16:17 -------
Davi's proposal entails an API change, either way marking this as
an enhancement, the original patch could be considered for 1.2.x
but solving it requires 1.3.0 - and I agree both would be good.
--
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
DO NOT REPLY [Bug 42066] - apr_bucket_alloc crash when apr_allocator_alloc fails
Posted by bu...@apache.org.
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=42066>.
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=42066
------- Additional Comments From serai@lans-tv.com 2007-04-07 03:28 -------
Created an attachment (id=19921)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=19921&action=view)
write error and abort
--
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
DO NOT REPLY [Bug 42066] - apr_bucket_alloc crash when apr_allocator_alloc fails
Posted by bu...@apache.org.
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=42066>.
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=42066
------- Additional Comments From davi@haxent.com.br 2007-04-29 14:23 -------
apr_allocator_t should have a abort_fn like apr_pool_t, and then it should return NULL. Almost all
callers of apr_bucket_alloc() (within httpd) don't check for a NULL return, so a abort_fn is a must have.
--
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