coreboot-kgpe-d16/payloads/libpayload/libc
Hsuan Ting Chen 8742e2a923 libpayload: free: Separate NULL check out for clarity
Separate the validity check of calling free(NULL) for clarity.

BUG=b:168441735
TEST=emerge-puff libpayload

Change-Id: I0dc355553410bbe59e658945fb40c05f5f709380
Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45465
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
2020-09-19 01:36:57 +00:00
..
Makefile.inc libpayload: Add simple 32.32 fixed-point math API 2020-07-09 00:32:11 +00:00
args.c
console.c
coreboot.c libpayload: Cache physical location of strings 2020-08-24 09:13:35 +00:00
ctype.c
die.c
exec.c
fmap.c
fpmath.c libpayload: Add simple 32.32 fixed-point math API 2020-07-09 00:32:11 +00:00
getopt_long.c
hexdump.c
ipchecksum.c
lib.c
libgcc.c
malloc.c libpayload: free: Separate NULL check out for clarity 2020-09-19 01:36:57 +00:00
memory.c libpayload: memmove: Don't make expectations of architecture memcpy 2020-08-24 09:24:06 +00:00
printf.c
qsort.c
rand.c
readline.c
string.c payloads/libpayload/libc: Avoid NULL pointer dereference 2020-05-28 09:34:37 +00:00
strlcpy.c
sysinfo.c
time.c