diff options
author | tb <> | 2021-12-28 15:49:11 +0000 |
---|---|---|
committer | tb <> | 2021-12-28 15:49:11 +0000 |
commit | 5491024cb5cfc8b5ad8ead3147278f4272d612f9 (patch) | |
tree | 343271e92f66d637510bdf8086d27cdb16719a8e /src/usr.bin | |
parent | 8340c867e544bc54b944619cd264a575571cd5c2 (diff) | |
download | openbsd-5491024cb5cfc8b5ad8ead3147278f4272d612f9.tar.gz openbsd-5491024cb5cfc8b5ad8ead3147278f4272d612f9.tar.bz2 openbsd-5491024cb5cfc8b5ad8ead3147278f4272d612f9.zip |
Convert X509v3_adr_get_afi() to CBS
The manual byte bashing is performed more safely using this API
which would have avoided the out-of-bounds read that this API had
until a few years back.
The API is somewhat strange in that it uses the reserved AFI 0 as an
in-band error but it doesn't care about the reserved AFI 65535.
ok inoguchi jsing
Diffstat (limited to 'src/usr.bin')
0 files changed, 0 insertions, 0 deletions