In my commit d6b61f7f55438fc2900a669346c64761a3c3eca0 from Mon Aug 9 16:50:54 
2010 +0200 
(Check if space for terminating NULL is available in postingsFreeListDW.values) 

I used wrong condition

     if (this->postingsFreeCountDW > this->postingsFreeListDW.length)

instead of correct

     if (this->postingsFreeCountDW < this->postingsFreeListDW.length-1)

Subsequent call to postingsFreeListDW.deleteUntilNULL() can destroy a memory as 
terminating NULL isn't written into array.

Fixed in today commit 15998dd2a1bd3712effa99a0c1093c6799e788d9

I'm also not sure if the whole unused part of postingsFreeListDW.values 
shouldn't be NULLified.

Itamar, could you please merge this fix into master asap, as this is quite a 
serious bug?

Borek

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to