mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
aac6ae3774
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) |
||
---|---|---|
.. | ||
app_libctx.c | ||
app_params.c | ||
app_provider.c | ||
app_rand.c | ||
app_x509.c | ||
apps_opt_printf.c | ||
apps_ui.c | ||
apps.c | ||
build.info | ||
cmp_mock_srv.c | ||
columns.c | ||
engine_loader.c | ||
engine.c | ||
fmt.c | ||
http_server.c | ||
names.c | ||
opt.c | ||
s_cb.c | ||
s_socket.c | ||
tlssrp_depr.c | ||
vms_decc_argv.c | ||
vms_term_sock.c | ||
win32_init.c |