diff options
author | Shaunak Saha <shaunak.saha@intel.com> | 2017-12-12 10:21:50 -0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-01-12 18:22:02 +0000 |
commit | 5a44176047595120c42e9971b718d9f78110ef1b (patch) | |
tree | 4e333b0653fb8a05b59bc97d0026ffbd80bcb147 /src/superio | |
parent | e1a75d4a94e32f72a5e99410cdaafef0431cfc8f (diff) |
soc/intel/common/block: Check for NULL before dereference
We check for NULL from the return of function acpi_device_path
before passing it to acpigen_write_scope to avoid NULL pointer
dereference.
Change-Id: I997461c9b639acc3c323263d304333d3a894267c
Found-by: Klockworks
Signed-off-by: Shaunak Saha <shaunak.saha@intel.com>
Reviewed-on: https://review.coreboot.org/23094
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/superio')
0 files changed, 0 insertions, 0 deletions