tt/mini_isam: Coverity (memory corruption, moderate)
This commit is contained in:
@@ -555,6 +555,7 @@ _buildbtree(fcb, pkeydesc2, srt)
|
|||||||
for (i = 0; i < depth ; i++) {
|
for (i = 0; i < depth ; i++) {
|
||||||
curindex[i] = ISPAGESIZE; /* Any big number will do */
|
curindex[i] = ISPAGESIZE; /* Any big number will do */
|
||||||
one_more[i]++;
|
one_more[i]++;
|
||||||
|
nodebuf[i] = NULL;
|
||||||
nodebufhd[i] = NULL;
|
nodebufhd[i] = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user