Files
gentoo/net-libs/libssh2/files/libssh2-1.11.1-CVE-2026-55199-packet.patch
Sam James d1523c24e9 net-libs/libssh2: fix CVE-2026-55199 too
* Add CVE-2026-55199 fix
* Rebase CVE-2026-7598 patch

Just git mv as the additional fix is simple.

Bug: https://bugs.gentoo.org/977961
Thanks-to: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
2026-07-19 09:43:41 +01:00

16 lines
607 B
Diff

--- a/src/packet.c 2024-10-16 10:03:21.000000000 +0200
+++ b/src/packet.c 2026-07-06 23:43:44.908694665 +0200
@@ -868,8 +868,10 @@
nr_extensions -= 1;
- _libssh2_get_string(&buf, &name, &name_len);
- _libssh2_get_string(&buf, &value, &value_len);
+ if(_libssh2_get_string(&buf, &name, &name_len))
+ break;
+ if(_libssh2_get_string(&buf, &value, &value_len))
+ break;
if(name && value) {
_libssh2_debug((session,