[openssl] master update

matthias.st.pierre at ncp-e.com matthias.st.pierre at ncp-e.com
Wed Jun 24 19:55:50 UTC 2020


The branch master has been updated
       via  5b286641efef67aed5af026302b2176e3e368ae9 (commit)
      from  6926be0b163d760093216e25402abda790e197ac (commit)


- Log -----------------------------------------------------------------
commit 5b286641efef67aed5af026302b2176e3e368ae9
Author: Pauli <paul.dale at oracle.com>
Date:   Wed Jun 24 20:21:15 2020 +1000

    apps: avoid memory overrun.
    
    NULL terminate the built in "help" argv array to avoid
    reading beyond the end.
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
    Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
    (Merged from https://github.com/openssl/openssl/pull/12258)

-----------------------------------------------------------------------

Summary of changes:
 apps/openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/openssl.c b/apps/openssl.c
index fdf4a746f8..3593c2b9f2 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -205,7 +205,7 @@ static void setup_trace(const char *str)
 }
 #endif /* OPENSSL_NO_TRACE */
 
-static char *help_argv[] = { "help" };
+static char *help_argv[] = { "help", NULL };
 
 int main(int argc, char *argv[])
 {


More information about the openssl-commits mailing list