diff options
| author | jca <> | 2025-12-08 13:30:08 +0000 |
|---|---|---|
| committer | jca <> | 2025-12-08 13:30:08 +0000 |
| commit | 2a9ce651b1c5e84f70570a283e2a5ccd1e14eb25 (patch) | |
| tree | 4cd0b4bac0df189379851682a739ad008f0828a6 /src/lib/libcrypto/rsa | |
| parent | 060807bc824ed30baf14bd749db43e4d90d310ad (diff) | |
| download | openbsd-2a9ce651b1c5e84f70570a283e2a5ccd1e14eb25.tar.gz openbsd-2a9ce651b1c5e84f70570a283e2a5ccd1e14eb25.tar.bz2 openbsd-2a9ce651b1c5e84f70570a283e2a5ccd1e14eb25.zip | |
Do not crash when calling freeaddrinfo(NULL)
Supported by Linux since at least 1997, and FreeBSD since 2017. While
not defined, there's no real good reason to crash when we could just
cope. Indeed, software out there relies on the Linux behavior.
Point out in the manpage that the behavior of getaddrinfo(NULL) isn't
defined and thus isn't portable.
Edge case spotted recently by kn@ in OpenVPN.
ok millert@ djm@ deraadt@ kn@
Diffstat (limited to 'src/lib/libcrypto/rsa')
0 files changed, 0 insertions, 0 deletions
