CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2023/03/04 04:58:29
Modified files: lib/libcrypto/asn1: bio_asn1.c Log message: 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