summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getopt_long.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2002-12-05 22:16:13 +0000
committerart <art@openbsd.org>2002-12-05 22:16:13 +0000
commit9bfc40120fe1e40e3108a29e23735861898a7c60 (patch)
treec6a9d0c59527eae8eeb376dc08f1af87d1b075e4 /lib/libc/stdlib/getopt_long.c
parentReorganize this so that getopt_only_only() works correctly. (diff)
downloadwireguard-openbsd-9bfc40120fe1e40e3108a29e23735861898a7c60.tar.xz
wireguard-openbsd-9bfc40120fe1e40e3108a29e23735861898a7c60.zip
Do not use debug_malloc if it hasn't been initialized.
This can happen when debug_malloc_init calls pool_init which calls malloc (because the kernel is built with POOL_DIAGNOSTIC) which in turn calls debug_malloc and debug_malloc just happens to trigger on all memory allocations. This allows us to run a kernel debugging _all_ allocations.
Diffstat (limited to 'lib/libc/stdlib/getopt_long.c')
0 files changed, 0 insertions, 0 deletions