Opened 6 years ago

Closed 5 years ago

#10374 closed bug (fixed)

[add-ons/index_server/fulltext] CLuceneDataBase.cpp: Mismatching allocation and deallocation

Reported by: mt Owned by: nobody
Priority: normal Milestone: R1
Component: Add-Ons Version: R1/Development
Keywords: index_server Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All


In CLuceneWriteDataBase::_RemoveDocuments() and CLuceneWriteDataBase::_IndexDocument(), variable wPath is allocated by new[] (via to_wchar()), but deallocated by delete.

Attachments (1)

0003-Fix-mismatching-allocation-and-deallocation.patch (966 bytes) - added by mt 6 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 6 years ago by mt

Has a Patch: set

comment:2 Changed 5 years ago by stpere

Resolution: fixed
Status: newclosed

Applied in hrev46995, thanks!

Note: See TracTickets for help on using tickets.