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
ui_err.c
ui_lib.c Fix stack corruption in ui_read 2023-05-17 12:07:02 +02:00
ui_local.h
ui_null.c
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