1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

fix(rowgroup): RGData now uses uint64_t counter for the fixed sizes columns data buf.

The buffer can utilize > 4GB RAM that is necessary for PM side join.
	RGData ctor uses uint32_t allocating data buffer.
 	This fact causes implicit heap overflow.
This commit is contained in:
drrtuy
2024-08-24 19:13:58 +00:00
committed by Leonid Fedorov
parent ca6c35abdd
commit dc03621e9d
8 changed files with 78 additions and 121 deletions

View File

@@ -417,6 +417,7 @@ void TupleHashJoinStep::smallRunnerFcn(uint32_t index, uint threadID, uint64_t*
smallRG.initRow(&r);
try
{
// Very unfortunate choice for the type b/c of RM::getMemory type.
ssize_t rgSize;
bool gotMem;
goto next;