diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-03-04 11:58:30 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-03-04 11:58:30 +0000 |
commit | bc0c3a9a3946b44143614f0ff5c51e51633989a9 (patch) | |
tree | aad07729db5e36c4c25354d1586147937788c48b /usr.sbin | |
parent | 69cd704904c0e97dd09b1e6955bed789b87a512f (diff) |
Avoid infinite loop in bio_asn1 state machine
If the BIO_write() in the ASN1_STATE_DATA_COPY state fails, incorrect
error handling will break out of the switch without changing the state,
and the infinite for loop will immediately try the same write again,
which is unlikely to succeed... Clearly this code intended to break out
of the loop instead.
Via OpenSSL 1.1 commit 723f616df81ea05f31407f7417f49eea89bb459a
ok millert
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions