diff options
author | 2019-04-10 16:23:55 +0000 | |
---|---|---|
committer | 2019-04-10 16:23:55 +0000 | |
commit | 14f93c9cdea0a6bdff09a14f7097c5bb1885fdef (patch) | |
tree | 210a81ebb36b3467562278e2723669289e559f4f /sys/dev/pci/drm | |
parent | MPO cable names were swapped (diff) | |
download | wireguard-openbsd-14f93c9cdea0a6bdff09a14f7097c5bb1885fdef.tar.xz wireguard-openbsd-14f93c9cdea0a6bdff09a14f7097c5bb1885fdef.zip |
Avoid an overread caused by d2i_PrivateKey().
There are cases where the old_priv_decode() function can fail but consume
bytes. This will result in the pp pointer being advanced, which causes
d2i_PKCS8_PRIV_KEY_INFO() to be called with an advanced pointer and
incorrect length.
Fixes oss-fuzz #13803 and #14142.
ok deraadt@ tb@
Diffstat (limited to 'sys/dev/pci/drm')
0 files changed, 0 insertions, 0 deletions