http://d.puremagic.com/issues/show_bug.cgi?id=3463
--- Comment #38 from Leandro Lucarella <llu...@gmail.com> 2010-07-22 19:26:36 PDT --- If I'm understanding the patch right, I think I found a bug. At the end of reallocNoSync(): + if (psize < size || // if new size is bigger + psize > size * 2) // or less than half + { + p2 = mallocNoSync(size, bits, bitMask); + + psize -= bitMaskSize; + size -= bitMaskSize; Shouldn't size and psize be updated before mallocNoSync() is called? Otherwise a block a word larger than needed would be allocated. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------