From 8adf110136b37d81d37d09abd9f30a75a026615f Mon Sep 17 00:00:00 2001 From: Artyom Ivanov Date: Thu, 13 Aug 2026 14:26:48 +0300 Subject: [PATCH] Postfix: Decrement blr length after reading value from blr in `parse_format` for `blr_int128` --- src/remote/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote/parser.cpp b/src/remote/parser.cpp index ed9a1369730..cea7aaca6ff 100644 --- a/src/remote/parser.cpp +++ b/src/remote/parser.cpp @@ -299,7 +299,7 @@ static rem_fmt* parse_format(const UCHAR*& blr, size_t& blr_length) break; case blr_int128: - if (blr_length < 1) + if (blr_length-- == 0) return nullptr; desc->dsc_dtype = dtype_int128; desc->dsc_length = sizeof(Int128);