8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 13:23:02 +01:00

Backported fix for CORE-1680: "gsec display" only shows some first users when there are many users (>50) in security database

This commit is contained in:
alexpeshkoff 2008-04-03 16:07:28 +00:00
parent 9a3adc9a41
commit 7a19a669bc

View File

@ -559,7 +559,7 @@ static int typeBuffer(ISC_STATUS* status, char* buf, int offset,
// Old data left - use them // Old data left - use them
if (offset) if (offset)
{ {
memmove(&buf[offset], p, loop); memmove(&buf[offset], p, loop + 1);
p = buf; p = buf;
loop += offset; loop += offset;
offset = 0; offset = 0;