summaryrefslogtreecommitdiff
path: root/payloads/libpayload/liblzma
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-04-16 23:13:28 -0700
committerFurquan Shaikh <furquan@google.com>2020-04-22 18:01:52 +0000
commit86803784d3a459170a1e73dfbd1ecdcfc0d853d5 (patch)
treed3012ba615714b7974aab6d8ddd9f86115f4dd46 /payloads/libpayload/liblzma
parent4cd150f5b530a88aa2778b1f1167e1c191186718 (diff)
downloadcoreboot-86803784d3a459170a1e73dfbd1ecdcfc0d853d5.tar.xz
device: Add checks for NULL in device_const.c functions
This change checks to ensure that device/path passed into any of the functions in device_const.c is not NULL. Since NULL is not expected to be passed into these functions, this change adds a die() call in case the assumption is broken. Change-Id: I1ad8d2bcb9d0546104c5e065af1eeff331cdf96d Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40475 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'payloads/libpayload/liblzma')
0 files changed, 0 insertions, 0 deletions