summaryrefslogtreecommitdiffstats
path: root/libc/string/strstr.c
Commit message (Collapse)AuthorAgeFilesLines
* libc : Changes variable data type where return value of strlen() stored from ↵Mukesh Ojha2016-10-111-1/+1
| | | | | | | | | | | | | int to size_t Reason of the change as integer value may overflow, and it can give negative value for the length. This patch also changes the data type of variable which is compared with strlen() as the comparison also has to be done on the same level. Signed-off-by: Mukesh Ojha <mukesh02@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Initial commit of Open Source releaseBenjamin Herrenschmidt2014-07-021-0/+37
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
OpenPOWER on IntegriCloud