diff options
| author | 2018-07-20 21:48:27 +0000 | |
|---|---|---|
| committer | 2018-07-20 21:48:27 +0000 | |
| commit | 65ea7d4ad3844057e537c76a7486b4d871f7a8b2 (patch) | |
| tree | e5bfde1c9deb3103a0e701cdaa5161d6de8883e5 /sys/kern/init_main.c | |
| parent | add pledge(2), it only needs rpath if reading from a file (diff) | |
| download | wireguard-openbsd-65ea7d4ad3844057e537c76a7486b4d871f7a8b2.tar.xz wireguard-openbsd-65ea7d4ad3844057e537c76a7486b4d871f7a8b2.zip | |
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/init_main.c')
0 files changed, 0 insertions, 0 deletions
