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);