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 2020/01/03 11:37:43 UTC

[Bug 64049] Missing malloc check in sct_parse

https://bz.apache.org/bugzilla/show_bug.cgi?id=64049

--- Comment #1 from Yann Ylavic <yl...@gmail.com> ---
I think we'd better use ap_malloc() here (and everywhere malloc/calloc() is
used) than returning an error (what could the caller do?).

ap_malloc() will abort() the process in case of failure, which is how httpd
usually handles memory allocations failures.

-- 
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