openssl/apps/lib
Benny Baumann aac6ae3774 Avoid unchecked string concatenation
To avoid the issue of overflowing the buffer start while
building up the help string prefix this rewrite of the
string building logic does multiple smaller writes to
opt_printf_stderr. While this is slower it completely
avoids the buffer overflow issue and does not place
any (unchecked) length constraints on the name of passed
options. Instead such long options are gracefully
wrapped onto the next line.

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/12265)
2022-05-23 10:07:09 +10:00
..
app_libctx.c fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
app_params.c Update copyright year 2020-10-15 14:10:06 +01:00
app_provider.c apps: add query to allow a command to know of a provider command line option was processed 2021-07-12 09:13:41 +10:00
app_rand.c check the return value of OPENSSL_strdup(CRYPTO_strdup) in apps/lib/app_rand.c:32 2021-11-25 16:07:53 +10:00
app_x509.c Update copyright year 2021-04-22 14:38:44 +01:00
apps_opt_printf.c Add tests for do_updatedb 2022-02-14 10:18:46 +01:00
apps_ui.c APPS: Make it possible for apps to set the base (fallback) UI_METHOD 2020-11-26 17:04:21 +01:00
apps.c Remove duplicated #include headers 2022-05-04 13:46:10 +10:00
build.info Add tests for do_updatedb 2022-02-14 10:18:46 +01:00
cmp_mock_srv.c Update copyright year 2022-05-03 13:34:51 +01:00
columns.c
engine_loader.c Fix copyrights 2022-02-03 13:56:38 +01:00
engine.c Skip unavailable digests and ciphers in -*-commands 2020-12-15 04:39:58 +01:00
fmt.c
http_server.c Update copyright year 2022-05-03 13:34:51 +01:00
names.c Update copyright year 2022-05-03 13:34:51 +01:00
opt.c Avoid unchecked string concatenation 2022-05-23 10:07:09 +10:00
s_cb.c Update copyright year 2022-05-03 13:34:51 +01:00
s_socket.c Update copyright year 2022-05-03 13:34:51 +01:00
tlssrp_depr.c Deprecate the libssl level SRP APIs 2021-02-12 08:47:32 +00:00
vms_decc_argv.c Update copyright year 2021-06-17 13:24:59 +01:00
vms_term_sock.c Update copyright year 2022-05-03 13:34:51 +01:00
win32_init.c