It fixes CVE-2026-22852, CVE-2026-22854, CVE-2026-22856, CVE-2026-23732, CVE-2026-23948, CVE-2026-24491, CVE-2026-24675, CVE-2026-24676, CVE-2026-24679, CVE-2026-24681, CVE-2026-24683, CVE-2026-24684 and CVE-2026-31806. Resolves: RHEL-147954, RHEL-147955, RHEL-147970, RHEL-147977, RHEL-147980 Resolves: RHEL-148002, RHEL-148014, RHEL-148031, RHEL-148906, RHEL-148996 Resolves: RHEL-149007, RHEL-149056, RHEL-155984
27 lines
886 B
Diff
27 lines
886 B
Diff
From 3da319570c8a6be0a79b3306f1ed354c4a943259 Mon Sep 17 00:00:00 2001
|
|
From: akallabeth <akallabeth@posteo.net>
|
|
Date: Mon, 12 Jan 2026 03:44:06 +0100
|
|
Subject: [PATCH] [channels,drive] fix constant type
|
|
|
|
ensure constant is of 64bit integer type
|
|
---
|
|
channels/drive/client/drive_main.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/channels/drive/client/drive_main.c b/channels/drive/client/drive_main.c
|
|
index 1dce5c348..13188fbc6 100644
|
|
--- a/channels/drive/client/drive_main.c
|
|
+++ b/channels/drive/client/drive_main.c
|
|
@@ -302,7 +302,7 @@ static UINT drive_process_irp_read(DRIVE_DEVICE* drive, IRP* irp)
|
|
Length = 0;
|
|
}
|
|
|
|
- if (!Stream_EnsureRemainingCapacity(irp->output, Length + 4))
|
|
+ if (!Stream_EnsureRemainingCapacity(irp->output, 4ull + Length))
|
|
{
|
|
WLog_ERR(TAG, "Stream_EnsureRemainingCapacity failed!");
|
|
return ERROR_INTERNAL_ERROR;
|
|
--
|
|
2.53.0
|
|
|