Closed jprante closed 1 year ago
Can you see if branch https://github.com/indexdata/idzebra/tree/issue-44-overflow-zint-data1-node fixes it for you.
As mentioned in #43 the problem is likely NOT the number of records but a stats number "recordBytes" which exceeds 1e12 and gives bufferflow in the buffer 12 bytes (DATA1_LOCALDATA
).
Should be fixed in master now as #47 is merged.
The patch helped, thanks!
Version: Zebra 2.2.5
When indexing over 10000000 records, there is a buffer overflow in zebraidx
A workaround is https://github.com/indexdata/idzebra/pull/43 but the best method would be to use a larger buffer space.
With the workaround, I get the following messages
My recommendation is to always use snprintf instead of sprintf throughout the project.