diff options
author | Radek Krejci <radek.krejci@oracle.com> | 2024-03-21 13:19:23 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-07-08 21:55:30 +0200 |
commit | c215d75f94fcaa598817e739221f33b71b53fb39 (patch) | |
tree | d70d0beeecccfbe1d1c98242b7e66763a2876b70 /NOTES-WINDOWS.md | |
parent | check_format.pl: fix detection of 'if' with single stmt in braces without 'else' (diff) | |
download | openssl-c215d75f94fcaa598817e739221f33b71b53fb39.tar.xz openssl-c215d75f94fcaa598817e739221f33b71b53fb39.zip |
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 <radek.krejci@oracle.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23918)
Diffstat (limited to 'NOTES-WINDOWS.md')
0 files changed, 0 insertions, 0 deletions