HexView\HexViewDraw.cpp\541Line: IdentifySearchPatterns <b> while((ptr = (BYTE *)memchr(ptr, m_pSearchPat[0], len)) != 0) </b> I think it should be: while((ptr = (BYTE *)memchr(ptr, m_pSearchPat[0], len-(ptr-data))) != 0)