Skip to content

rand: fix error check of RAND_load_file() - #1087

Open
ndossche wants to merge 1 commit into
ruby:masterfrom
ndossche:RAND_load_file-fix
Open

rand: fix error check of RAND_load_file()#1087
ndossche wants to merge 1 commit into
ruby:masterfrom
ndossche:RAND_load_file-fix

Conversation

@ndossche

@ndossche ndossche commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

This function returns -1 on error, or the number of bytes read on success. Preserve current behaviour and also error out on error. Discovered by an experimental static analyzer I work on.

This function returns -1 on error, or the number of bytes read on
success. Preserve current behaviour and also error out on error.
Discovered by an experimental static analyzer I work on.
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.

1 participant