Skip to content
Commit e89e4598 authored by Gabor Kertesz's avatar Gabor Kertesz Committed by Szabolcs Nagy
Browse files

string: Add new testcase for memchr.

Memchr's length input parameter is unsigned and it's allowed to be
huge, so any algorithm that uses that as a signed number, should
fail the test.
This patch adds cases when the length is actually bigger than the
inspected array, but the seeked character is within the valid range.
parent 88e671c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment