From 021d8c9e1a9d1735ed2970885b2548a8ff0f4fff Mon Sep 17 00:00:00 2001 From: Vlad Khorsun Date: Mon, 2 Dec 2024 16:54:45 +0200 Subject: [PATCH] Fixed bug #8336 : Error: "Invalid clumplet buffer structure: buffer end before end of clumplet - clumplet too long (77779)" when using trusted auth --- src/jrd/jrd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jrd/jrd.cpp b/src/jrd/jrd.cpp index 08f560ddf7..8490f867f8 100644 --- a/src/jrd/jrd.cpp +++ b/src/jrd/jrd.cpp @@ -1113,7 +1113,7 @@ namespace Jrd memset(this, 0, reinterpret_cast(&this->dpb_user_name) - reinterpret_cast(this)); } - void get(const UCHAR*, USHORT, bool&); + void get(const UCHAR*, FB_SIZE_T, bool&); void setBuffers(RefPtr config) { @@ -6886,7 +6886,7 @@ namespace } } // anonymous -void DatabaseOptions::get(const UCHAR* dpb, USHORT dpb_length, bool& invalid_client_SQL_dialect) +void DatabaseOptions::get(const UCHAR* dpb, FB_SIZE_T dpb_length, bool& invalid_client_SQL_dialect) { /************************************** *