What    |Removed                     |Added
                 CC|                            |

--- Comment #2 from 2012-10-09 20:55:47 PDT ---
OK, something is very broken in simpleMindedFind(). When both haystack and
needle have the length property, estimateNeedleLength is set to false, and
estimatedNeedleLength is set to 0. Therefore, haystackTooShort() is always

So in the searching loop, the if(haystackTooShort()) is skipped, and it falls
straight through to the for(auto;...) loop. But here, if
h.empty is true, then because estimateNeedleLength is false, this goes straight
to "continue searching", which calls popFront() on an empty range.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to