diff options
author | Vicent Marti <tanoku@gmail.com> | 2014-09-10 19:46:34 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2014-09-10 19:46:34 +0200 |
commit | 7c2a062cdf9c0514cdf32f4f8bd07cf52d183c8b (patch) | |
tree | 5308d25a9d8dfae28766a735150d2284506c7f4a /js/lib | |
parent | 79e7a4bbf7055e33b346564db769f03e85f98988 (diff) |
Do not use strchr for span searches
Strchr will return a valid pointer for '\0' when searching a static
string, as the NULL byte is part of the string.
Diffstat (limited to 'js/lib')
0 files changed, 0 insertions, 0 deletions