aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/zstd/lib/legacy/zstd_v01.c
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-09-29 18:56:22 +0000
committerMark Johnston <markj@FreeBSD.org>2026-09-29 18:56:22 +0000
commitf15642e24db7d16c63ce484924d9075926dbf58a (patch)
tree59be4557417e4602069b382b27d3d816c15508e2 /sys/contrib/zstd/lib/legacy/zstd_v01.c
parent10729d0ce11c9ac5077d158bb372f9c39053f168 (diff)
imgact_aout: Widen the overflow checks in exec_aout_imgact()HEADmain
I suspect this overflow check isn't needed at all, at least today, since vm_map_insert() will detect wraparound when it creates segments (and even a check against UINT_MAX is too loose, since the max user address is AOUT32_USRSTACK == 0xbfc00000). But if we're going to keep this check, there doesn't seem to be any downside to applying it on all platforms, before exec_new_vmspace() tears down the current vmspace. Reported by: Muhammed Sariyildiz <asiyee994@gmail.com> Reviewed by: kib MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D60027
Diffstat (limited to 'sys/contrib/zstd/lib/legacy/zstd_v01.c')
0 files changed, 0 insertions, 0 deletions