summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa
diff options
context:
space:
mode:
authortb <>2023-03-04 11:58:29 +0000
committertb <>2023-03-04 11:58:29 +0000
commit4ccd3183f94270b404e8fb1737aa39fb523abf31 (patch)
tree7a557b2419c7fd6db0d9f7ae3a87a56dbb91e2bc /src/lib/libcrypto/dsa
parent69faacd992fce32cb8d30f38074d008f457a4de9 (diff)
downloadopenbsd-4ccd3183f94270b404e8fb1737aa39fb523abf31.tar.gz
openbsd-4ccd3183f94270b404e8fb1737aa39fb523abf31.tar.bz2
openbsd-4ccd3183f94270b404e8fb1737aa39fb523abf31.zip
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 'src/lib/libcrypto/dsa')
0 files changed, 0 insertions, 0 deletions