mirror of
https://github.com/openbsd/src.git
synced 2026-06-18 07:13:36 +02:00
c1b303c820
don't really make any sense. Bail out early to avoid the bits of code that assume that we have a PT_LOAD sagment. This avoids a NULL pointer dereference on i386 (which uses library_mquery.c) or bogus mmap calls on other architectures (which use library.c). The potential NULL pointer dereference in library_mquery.c was found by Frank Denis. ok guenther@