coreboot-kgpe-d16/payloads/libpayload/libc
Jeremy Compostella 3ab8ce52f9 libpayload: Fix strtok_r
This patch makes strtok_r:
- handle the end of the string
- handle string that contains only delimiters
- do not set ptr outside of str

Change-Id: I49925040d951dffb9c11425334674d8d498821f1
Signed-off-by: Jeremy Compostella <jeremy.compostella@gmail.com>
Reviewed-on: https://review.coreboot.org/16524
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2016-09-08 21:11:34 +02:00
..
64bit_div.c
Makefile.inc
args.c
console.c
coreboot.c libpayload: Drop superfluous "continue" 2016-07-31 19:17:27 +02:00
ctype.c
die.c
exec.c
fmap.c
getopt_long.c
hexdump.c
ipchecksum.c
lib.c
libgcc.c
malloc.c libpayload/libc: Fix memset/sizeof usage 2016-04-06 13:33:07 +02:00
memory.c
printf.c
qsort.c
rand.c
readline.c
string.c libpayload: Fix strtok_r 2016-09-08 21:11:34 +02:00
strlcpy.c
sysinfo.c
time.c