[openssh-commits] [openssh] branch master updated: upstream: cast
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Aug 18 14:51:07 AEST 2025
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
The following commit(s) were added to refs/heads/master by this push:
new ae44cd74f upstream: cast
ae44cd74f is described below
commit ae44cd74f3a4ac711152f50b2712803ccf785593
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Mon Aug 18 04:50:35 2025 +0000
upstream: cast
OpenBSD-Commit-ID: d69bd2328513c2dcd99f4f346b77e2bd90cf1964
---
packet.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/packet.c b/packet.c
index b899fcafb..34bf91d75 100644
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.320 2025/08/18 03:43:01 djm Exp $ */
+/* $OpenBSD: packet.c,v 1.321 2025/08/18 04:50:35 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -2613,7 +2613,7 @@ ssh_packet_set_state(struct ssh *ssh, struct sshbuf *m)
(r = sshbuf_get_u32(m, &qos_interactive)) != 0 ||
(r = sshbuf_get_u32(m, &qos_other)) != 0)
return r;
-#define DECODE_INT(v) ((v) > INT_MAX ? -1 : (v))
+#define DECODE_INT(v) ((v) > INT_MAX ? -1 : (int)(v))
state->interactive_mode = DECODE_INT(interactive);
state->qos_interactive = DECODE_INT(qos_interactive);
state->qos_other = DECODE_INT(qos_other);
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list