diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2023-05-13 09:04:18 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-05-17 12:08:34 +0200 |
commit | 5d6f13d90d5c4212737002bcd54871cf236a1220 (patch) | |
tree | 7e0e2db4890b3834c6cc4957262ec95ec9e13995 /.gitmodules | |
parent | 96cb0d9217b800985cb88aa34fdbc023c9e84a18 (diff) |
Fix stack corruption in ui_read
This is an alternative to #20893
Additionally this fixes also a possible issue in UI_UTIL_read_pw:
When UI_new returns NULL, the result code would still be zero
as if UI_UTIL_read_pw succeeded, but the password buffer is left
uninitialized, with subsequent possible stack corruption or worse.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20957)
(cherry picked from commit a64c48cff88e032cf9513578493c4536df725a22)
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions