mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:43:03 +01:00
Comment and fix for 64 bit
This commit is contained in:
parent
519afdbf7a
commit
1a34082c36
@ -36,8 +36,11 @@ public:
|
||||
end(buffer + maxLen),
|
||||
pos(buffer)
|
||||
{
|
||||
// ASF: A big maxLen like MAX_ULONG could overflow the pointer size and
|
||||
// points to something before start. In this case, we set the end to the
|
||||
// max possible address.
|
||||
if (end < start)
|
||||
end = (UCHAR*) -1;
|
||||
end = ((UCHAR*) 0) - 1;
|
||||
}
|
||||
|
||||
BlrReader()
|
||||
|
Loading…
Reference in New Issue
Block a user