Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: c215d75f94fcaa598817e739221f33b71b53fb39
https://github.com/openssl/openssl/commit/c215d75f94fcaa598817e739221f33b71b53fb39
Author: Radek Krejci <[email protected]>
Date: 2024-07-08 (Mon, 08 Jul 2024)
Changed paths:
M crypto/bio/bf_readbuff.c
Log Message:
-----------
Avoid NULL pointer dereference
Function readbuffer_gets() misses some of the initial checks of its
arguments. Not checking them can lead to a later NULL pointer
dereferences.
The checks are now unified with the checks in readbuffer_read()
function.
CLA: trivial
Fixes #23915
Signed-off-by: Radek Krejci <[email protected]>
Reviewed-by: Tom Cosgrove <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/23918)
To unsubscribe from these emails, change your notification settings at
https://github.com/openssl/openssl/settings/notifications