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 2011/07/27 21:07:03 UTC
DO NOT REPLY [Bug 51568] New: NULL pointer in mod_case_filter_in.c
https://issues.apache.org/bugzilla/show_bug.cgi?id=51568
Bug #: 51568
Summary: NULL pointer in mod_case_filter_in.c
Product: Apache httpd-2
Version: 2.2.19
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_case_filter / mod_case_filter_in
AssignedTo: bugs@httpd.apache.org
ReportedBy: max@cxib.net
Classification: Unclassified
modules/experimental/mod_case_filter_in.c
when malloc fails
buf = malloc(len);
for(n=0 ; n < len ; ++n)
buf[n] = apr_toupper(data[n]);
best
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 51568] NULL pointer in mod_case_filter_in.c
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51568
--- Comment #1 from Stefan Fritsch <sf...@sfritsch.de> 2011-07-27 20:39:47 UTC ---
The only thing httpd does if out of memory is log a message and then call
abort(). Segfaulting on oom is not elegant, but it is not a real problem. I am
not sure that this needs fixing. If yes, then probably by using a wrapper for
malloc that calls abort_on_oom().
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 51568] NULL pointer in mod_case_filter_in.c
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51568
--- Comment #2 from Maksymilian <ma...@cxib.net> 2011-07-27 21:41:01 UTC ---
i agree with you. mod_case_filter_in is a experimental module, so it would be
nice to add abort_on_oom().
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 51568] NULL pointer in mod_case_filter_in.c
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51568
Stefan Fritsch <sf...@sfritsch.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Stefan Fritsch <sf...@sfritsch.de> 2011-09-19 16:27:44 UTC ---
fixed in trunk in r1172686, not important enough to be backported
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org