openssl/crypto/ui
Bernd Edlinger a64c48cff8 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)
2023-05-17 12:07:02 +02:00
..
build.info Add a null UI method 2017-02-26 01:00:26 +01:00
ui_err.c Update copyright year 2021-06-17 13:24:59 +01:00
ui_lib.c Fix stack corruption in ui_read 2023-05-17 12:07:02 +02:00
ui_local.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
ui_null.c Reorganize local header files 2019-09-28 20:26:35 +02:00
ui_openssl.c Update copyright year 2022-05-03 13:34:51 +01:00
ui_util.c Fix stack corruption in ui_read 2023-05-17 12:07:02 +02:00