apps: avoid memory overrun.
authorPauli <paul.dale@oracle.com>
Wed, 24 Jun 2020 10:21:15 +0000 (20:21 +1000)
committerDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>
Wed, 24 Jun 2020 19:54:52 +0000 (21:54 +0200)
commit5b286641efef67aed5af026302b2176e3e368ae9
treebaaadb9cd9dbd622cf9dc8847ab76d2a4d11cb32
parent6926be0b163d760093216e25402abda790e197ac
apps: avoid memory overrun.

NULL terminate the built in "help" argv array to avoid
reading beyond the end.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/12258)
apps/openssl.c