coreboot-kgpe-d16/payloads/libpayload/libcbfs
Nico Huber bda38eece8 libpayload: Check for CBFS_DEFAULT_MEDIA in cbfs_get_file_content()
The error-prone interface of cbfs_get_file_content() led to another
possible NULL dereferencing. So check for CBFS_DEFAULT_MEDIA here
like the other functions do.

Change-Id: Ib8732160d389e9ecceb44f28be0e7de9a1d66e04
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/11796
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2015-10-05 15:23:54 +00:00
..
Makefile.inc Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
cbfs.c libpayload: allow compression at file header level 2015-09-17 18:52:56 +00:00
cbfs_core.c libpayload: Check for CBFS_DEFAULT_MEDIA in cbfs_get_file_content() 2015-10-05 15:23:54 +00:00
ram_media.c libpayload: cbfs: Fix ram_media map() error return value 2015-03-21 11:04:39 +01:00