diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-09-24 18:30:57 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-10-02 19:48:42 +0000 |
| commit | dec68aeff8ce0ce154e93325a74bba6af71c87af (patch) | |
| tree | aa486ddcc6568822a675de44a78055b1a6ab1fa0 /sys/modules/ispfw/isp_2500/(developers-only) | |
| parent | 782c6ea08603a4839c2c099842df92b6159b799f (diff) | |
in particular, if the old environment is NULL.
Among making it less surprising for userspace to observe NULL environ,
the change also prevents NULL deref in __rebuild_environ() when
terminating the empty as NULL environment with the NULL pointer.
Reported by: Leo Bicknell <bicknell@ufp.org>
PR: 298747
Reviewed by: emaste, markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D59996
Diffstat (limited to 'sys/modules/ispfw/isp_2500/(developers-only)')
0 files changed, 0 insertions, 0 deletions
