mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
The very few places that rely on malloc/calloc of a zero-size region
won't attempt to dereference it, so just return NULL rather than rolling
the dice with the underlying malloc implementation.
Reported by: brooks, Shawn Webb
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| tests | ||
| file.c | ||
| grep.1 | ||
| grep.c | ||
| grep.h | ||
| Makefile | ||
| Makefile.depend | ||
| Makefile.depend.options | ||
| queue.c | ||
| util.c | ||
| zgrep.1 | ||
| zgrep.sh | ||