Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:
Lucene.Net 2.3.1
Description
Bug in DocumentsWriter.ByteBlockPool.Reset() [Assuming that ThreadClass patch is appied]
buffers is a two-dim array
public byte[][] buffers = new byte[10][];
and should be cleared as
for (int i = 0; i < bufferUpto; i++) // Fully zero fill buffers that we fully used Array.Clear(buffers[i], 0, buffers[i].Length); // not like: Array.Clear(buffers[i], 0, buffers.Length);
DIGY
Attachments
Issue Links
- is part of
-
LUCENENET-145 Bug in documentswriter.cs
-
- Closed
-