summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2014-05-12 08:47:37 +0000
committerbeck <beck@openbsd.org>2014-05-12 08:47:37 +0000
commit98fdf12bb098007c7562cdec56a176847c3b8616 (patch)
tree2fc01d6f56bf55f70ac59d5d36cb50e7d11b5f1f /lib/libc/stdlib/malloc.c
parentreplace realloc(p, N * M) with reallocarray(p, N, M) and remove some (diff)
downloadwireguard-openbsd-98fdf12bb098007c7562cdec56a176847c3b8616.tar.xz
wireguard-openbsd-98fdf12bb098007c7562cdec56a176847c3b8616.zip
Make ifconfig do something intelligent based on the required length of
WEP keys rather then being silently dumb, so when using WEP: 1) If the key is a plausible size try to use it. 2) If they key would be a plausible size with '0x' in front of it, add that. 3) If the key is not a plausible size, emit a warning and do not try to use it. ok sthen@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions