[PATCH 0/2] Fix recently introduced strnstr() to not search past NUL

From: Andrà Goddard Rosa
Date: Sun Jan 17 2010 - 16:00:00 EST


Also simplify stricmp(), so that we do not increase lib/string.o code size.

Andrà Goddard Rosa (2):
string: simplify stricmp()
string: teach strnstr() to not search past NUL-terminator

lib/string.c | 38 ++++++++++++++++++--------------------
1 files changed, 18 insertions(+), 20 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/