D-Programming-Language/phobos — pull request #852 by quickfur (2012-10-10 04:31:29+00:00)
Title: FIx issue 7992

The problem is caused by haystackTooShort() always returning false when both the haystack and the needle have a length property defined. This causes the searching loop to call popFront() on an empty haystack.