You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-17 09:41:06 +03:00
fix(crash): libc++ + clang generate segfault on addressing null pointer here
This commit is contained in:
committed by
Leonid Fedorov
parent
1cd7b55593
commit
0f3f73ddb5
@@ -256,10 +256,11 @@ bool WEDataLoader::setupCpimport() // fork the cpimport
|
||||
Cmds.push_back(0); // null terminate
|
||||
// updatePrgmPath(Cmds);
|
||||
|
||||
// NOTE: for debugging
|
||||
// // NOTE: for debugging
|
||||
int aSize = Cmds.size();
|
||||
|
||||
for (int aIdx = 0; aIdx < aSize; ++aIdx)
|
||||
// Do not address last terminating 0
|
||||
for (int aIdx = 0; aIdx < aSize - 1; ++aIdx)
|
||||
{
|
||||
cout << "Args " << Cmds[aIdx] << endl;
|
||||
}
|
||||
|
Reference in New Issue
Block a user