[Patch] Bug 22392 - __dfsw_strchr( ..., '\0' ) gives wrong answer.
Wookhyun Han via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 16 21:22:33 PDT 2018
__dfsw_strchr does not correctly handle when the character argument is
terminating character '\0'.
Originally, strchr function handles the case to return the address of the
end of the string.
However, __dfsw_strchr returns null pointer for the case.
Corresponding bug report: https://bugs.llvm.org/show_bug.cgi?id=22392
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180417/6af4d565/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug22392.patch
Type: text/x-patch
Size: 837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180417/6af4d565/attachment-0001.bin>
More information about the llvm-commits
mailing list