diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-08-18 08:26:40 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-08-18 08:26:40 +0000 |
commit | 30e2bac16499ed22a3c0ae02be09dde4e00cccf4 (patch) | |
tree | 4470b1a381d6d4d0ebb9aa7c15a453e75cc71501 /sys | |
parent | 3d4b5a931a9997ea73661b6ef67ac7ce02525b9d (diff) |
str_match() checked the return value of str_find_aux() incorrectly: it
might return a negative number; the return value of match_error()
which returns (-1). This was technically a bug, and it exists in 5.8,
but there is no impact because the error is correctly catched with the
returned non-NULL error string.
Found by Leandro Pereira
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions