projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce7bdf9
)
tt/mini_isam: Coverity (memory corruption, moderate)
author
Jon Trulson
<jon@radscan.com>
Fri, 26 Dec 2014 23:15:25 +0000
(16:15 -0700)
committer
Jon Trulson
<jon@radscan.com>
Fri, 26 Dec 2014 23:15:25 +0000
(16:15 -0700)
cde/lib/tt/mini_isam/isamaddindex.c
patch
|
blob
|
history
diff --git
a/cde/lib/tt/mini_isam/isamaddindex.c
b/cde/lib/tt/mini_isam/isamaddindex.c
index 31610b6ff53c7ce1a0a6912f51314d03585dc8d7..f660dfcd9ca9246c97d1bca6f14437b4d9c29d88 100644
(file)
--- a/
cde/lib/tt/mini_isam/isamaddindex.c
+++ b/
cde/lib/tt/mini_isam/isamaddindex.c
@@
-555,6
+555,7
@@
_buildbtree(fcb, pkeydesc2, srt)
for (i = 0; i < depth ; i++) {
curindex[i] = ISPAGESIZE; /* Any big number will do */
one_more[i]++;
+ nodebuf[i] = NULL;
nodebufhd[i] = NULL;
}