Skip to content

asn1: add error checks for ASN1_STRING_set() calls#1039

Merged
rhenium merged 1 commit intoruby:masterfrom
ndossche:clesss-12
Apr 29, 2026
Merged

asn1: add error checks for ASN1_STRING_set() calls#1039
rhenium merged 1 commit intoruby:masterfrom
ndossche:clesss-12

Conversation

@ndossche
Copy link
Copy Markdown
Contributor

Other calls in the project have such checks, add it consistently everywhere to raise an exception in case of an error.

This was found by a hybrid static-dynamic analyser that looks for inconsistent handling of error checks in bindings.

Other calls in the project have such checks, add it consistently
everywhere to raise an exception in case of an error.
@rhenium rhenium merged commit b053aa3 into ruby:master Apr 29, 2026
47 checks passed
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