diff options
author | tb <> | 2021-05-01 13:13:45 +0000 |
---|---|---|
committer | tb <> | 2021-05-01 13:13:45 +0000 |
commit | bda487a9531b508fcb2602e5fddbef19d89ff384 (patch) | |
tree | 3a4aa4d6f97d60ae302f624d12abae1559776335 /src/lib/libc | |
parent | 43140dd2d9a01de0fff0ae59aec0e1d7cda76474 (diff) | |
download | openbsd-bda487a9531b508fcb2602e5fddbef19d89ff384.tar.gz openbsd-bda487a9531b508fcb2602e5fddbef19d89ff384.tar.bz2 openbsd-bda487a9531b508fcb2602e5fddbef19d89ff384.zip |
Prevent double free in int_TS_RESP_verify_token
If TS_compute_imprint fails after md_alg was allocated, there will be a
double free in its caller. Obvious fix is to null out the output
parameter md_alg just like it's already done for imprint and imprint_len.
From Pauli Dale, OpenSSL 1.1.1, a3dea76f742896b7d75a0c0529c0af1e628bd853
ok inoguchi jsing
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions