mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
strstr fails because length off by 1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2022 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -846,3 +846,5 @@
|
||||
* net/recvfrom.c: Fix errors in return value from non-blocking socket read.
|
||||
* lib/lib_strcasecmp.c and lib/lib_strncasecmp.c. Use of post-incremented
|
||||
argument to macro caused strcasecmp() and strncasecmp() to fail.
|
||||
* lib/lib_strstr.c: Length of substring off by one causes false alarm
|
||||
sub-string matches.
|
||||
|
||||
Reference in New Issue
Block a user