mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-12 07:13:08 -05:00
This patch adds missing out-of-memory (OOM) checks after calls to calloc() in the functions `filter_count_srv_status()` and `filter_count_url()`. If memory allocation fails, an error message is printed to stderr and the process exits with status 1. This improves robustness and prevents undefined behavior in low-memory situations. Co-authored-by: Christian Norbert Menges <christian.norbert.menges@sap.com> |
||
|---|---|---|
| .. | ||
| fgets2.c | ||
| halog.c | ||
| README | ||
This needs to be built from the top makefile, for example : make admin/halog/halog