summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-07-20 21:48:28 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-07-20 21:48:28 +0000
commit4f1deb50a2493333eaa78753dc0d1afc3b938c50 (patch)
treee4d774a50404883f9d85f622eaed091dfc02ea59 /sys/kern/kern_exec.c
parent05769fc444c38bcf587951784c580e6159cfe2bc (diff)
Fail if a PT_LOAD segment has a memory size of 0. This prevents a panic
later on, and it makes no sense for a binary to have such a segment. ok bluhm@, guenther@
Diffstat (limited to 'sys/kern/kern_exec.c')
0 files changed, 0 insertions, 0 deletions