mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 04:43:03 +01:00
Fixed porting bug that caused wrong privileges checks.
This commit is contained in:
parent
c79cbc392b
commit
4764f22a3f
@ -1143,6 +1143,7 @@ static SLONG compute_access(TDBB tdbb,
|
|||||||
|
|
||||||
/* Get some space that's not off the stack */
|
/* Get some space that's not off the stack */
|
||||||
str_buffer = FB_NEW_RPT(*dbb->dbb_permanent, BLOB_BUFFER_SIZE) str();
|
str_buffer = FB_NEW_RPT(*dbb->dbb_permanent, BLOB_BUFFER_SIZE) str();
|
||||||
|
str_buffer->str_length = BLOB_BUFFER_SIZE - 1;
|
||||||
buffer = (TEXT*) str_buffer->str_data;
|
buffer = (TEXT*) str_buffer->str_data;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user