Add bounds checking to length returned by wcslen in wide_to_asc conversion to resolve...
authorJake Cooke <jcooke2297@outlook.com>
Tue, 18 May 2021 08:50:54 +0000 (18:20 +0930)
committerPauli <pauli@openssl.org>
Wed, 19 May 2021 12:12:19 +0000 (22:12 +1000)
commitcad4f3facc2ff5dce97b08b9ab8718783358b30c
tree6ccde043767c6e6f663d4f88ac9b55511ef440eb
parentbf991b25caa6e915d858dd56c98ee774f248f03c
Add bounds checking to length returned by wcslen in wide_to_asc conversion to resolve integer overflow flaw

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15316)
engines/e_capi.c