Bounds check string functions in apps.
authorPauli <paul.dale@oracle.com>
Thu, 6 Jul 2017 00:37:10 +0000 (10:37 +1000)
committerPauli <paul.dale@oracle.com>
Thu, 6 Jul 2017 00:37:10 +0000 (10:37 +1000)
commiteee9552212ecc9e19bc09ea8a1b8428dc7394f45
tree210a3fe7883637f3399cf661dadf89ff5d7b9b9e
parent67fdc99827916a397c23491edd97f2a5d374533a
Bounds check string functions in apps.
This includes strcat, strcpy and sprintf.

In the x509 app, the code has been cleaned up as well.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3868)
apps/enc.c
apps/pkcs12.c
apps/s_time.c
apps/x509.c