Files
openssl/apps
Matt Caswell 440ac348bf Fix a one byte buffer overflow in s_client
The buffer used to process user commands when using advanced mode ("-adv")
can overflow the buffer by one byte if the the read buffer is exactly
BUFSIZZ bytes in length (16k). When processing the buffer we add a NUL
terminator to the buffer, so if the buffer is already full then we
overwrite by one byte when we add the NUL terminator.

This does not represent a security issue because this is entirely local
and would be "self-inflicted", i.e. not under attacker control.

This issue was reported to use by Igor Morgenstern from AISLE.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
MergeDate: Thu Mar 12 17:56:37 2026
(Merged from https://github.com/openssl/openssl/pull/30376)
2026-03-12 18:56:23 +01:00
..
2024-04-25 11:07:20 +02:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2025-09-02 13:05:45 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2025-12-09 00:28:19 -07:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2025-12-09 00:28:19 -07:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2025-12-09 00:28:19 -07:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-12 11:47:13 +01:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2020-05-13 06:28:36 +02:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2026-03-10 14:37:52 +00:00
2026-03-10 14:37:52 +00:00
2025-12-09 00:28:19 -07:00
2025-12-09 00:28:19 -07:00
2026-03-10 14:37:52 +00:00