On Tue, 21 Feb 2006 10:19:01 -0800 Lei Zhang leiz@ucla.edu wrote:
while (pCurItem && pCurItem->member.run.strText->szData[nCurEnd - nMatched - 1] == text[nLen - nMatched - 1])
while (ME_CharCompare(pCurItem->member.run.strText->szData[nCurEnd - nMatched - 1], text[nLen - nMatched - 1], (flags & FR_MATCHCASE)))
You've dropped pCurItem NULL check here. Probably just a typo...
-- Ph.