Skip to content

fix: unchecked return values of BIO output functions - #52

Open
ndossche wants to merge 1 commit into
nodejs:mainfrom
ndossche:fix-unchecked-bio-writes
Open

fix: unchecked return values of BIO output functions#52
ndossche wants to merge 1 commit into
nodejs:mainfrom
ndossche:fix-unchecked-bio-writes

Conversation

@ndossche

Copy link
Copy Markdown
Contributor

BIO_write(), BIO_printf(), and ASN1_TIME_print() can fail which will result in an incomplete output to the BIO.
Check the return values for this.

Note: this was found by a static-dynamic analyser I'm developing.

BIO_write(), BIO_printf(), and ASN1_TIME_print() can fail which will
result in an incomplete output to the BIO.
Check the return values for this.
@panva

panva commented Aug 10, 2026

Copy link
Copy Markdown
Member

I think these changes out to land on the Node.js side of things first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants