diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-07-20 21:48:28 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-07-20 21:48:28 +0000 |
commit | 4f1deb50a2493333eaa78753dc0d1afc3b938c50 (patch) | |
tree | e4d774a50404883f9d85f622eaed091dfc02ea59 /sys/kern/kern_exec.c | |
parent | 05769fc444c38bcf587951784c580e6159cfe2bc (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