fix invalid deref of one-past-end array member in mystrnchr()
commit6c019eb6eece9b244802b81dddd55d35d7e82002
authorrofl0r <retnyg@gmx.net>
Sat, 18 Feb 2017 22:51:47 +0000 (18 22:51 +0000)
committerrofl0r <retnyg@gmx.net>
Sat, 18 Feb 2017 22:51:47 +0000 (18 22:51 +0000)
tree46266217eb9bc18a0e0b47cfef36336ecd0bb724
parent8304192c681561aacd9ffc07f23ae504853276fc
fix invalid deref of one-past-end array member in mystrnchr()

while the for loop took care not to read out of bounds, the subsequent
comparison did, when we were at the end of the buffer without finding
what we were looking for.
jobflow.c