summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorJohn Zhao <john.zhao@intel.com>2020-06-26 10:00:02 -0700
committerAaron Durbin <adurbin@chromium.org>2020-07-10 17:33:39 +0000
commitf6f1f734ee1b6322ebf3913743d5c526be65dc42 (patch)
tree2ab3194dbc31cbc4ed5d170a83ab2dab56b4bd92 /src/mainboard/google
parent7b1cb0d603ee38470d5571d564c6b4fed5348977 (diff)
soc/amd/picasso: Avoid NULL pointer dereference
Coverity detects dereferencing a pointer that might be "NULL" when calling acpigen_write_scope. Add sanity check for scope to prevent NULL pointer dereference. Found-by: Coverity CID 1429980 TEST=None Signed-off-by: John Zhao <john.zhao@intel.com> Change-Id: I6214fb83bccb19fe4edad65ce6b862815b8dcec6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/42837 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
0 files changed, 0 insertions, 0 deletions