]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix off-by-one overflow in the AST resubmit
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Fri, 10 Oct 2025 11:55:31 +0000 (19:55 +0800)
committerTomas Mraz <tomas@openssl.org>
Fri, 17 Oct 2025 17:02:50 +0000 (19:02 +0200)
Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28811)

(cherry picked from commit 3aa2f3a4566f34e99050efdb074fc1375b1572ad)

apps/lib/vms_term_sock.c

index 5f80eedfcc652a31932f78787cc443a07bab411f..d8c0c39158d87a4252a42f9e0752a8def3b5eb97 100644 (file)
@@ -529,7 +529,7 @@ static int TerminalDeviceAst (int astparm)
                       TerminalDeviceAst,
                       0,
                       TerminalDeviceBuff,
-                      sizeof(TerminalDeviceBuff) - 1,
+                      sizeof(TerminalDeviceBuff) - 2,
                       0, 0, 0, 0);
 
     /*