summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorWisley Chen <wisley.chen@quanta.corp-partner.google.com>2023-09-05 13:12:10 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-09-07 13:31:33 +0000
commit15cb0d55275d8d2c3509d2f529daa754a4e7a74d (patch)
tree4c3b862523a80670e184b2c116e5dc7c2c8519dd /payloads
parentd99fac194962a9867ae1d16280b1624af5fbdb71 (diff)
mb/google/brya/var/{kano,osiris,taeko}: Add null pointer check
Without part no. in CBI, mainboard_get_dram_part_num returns null. To prevent passing this null pointer to strcmp and avoid unexpected behavior, proper handling is necessary. BUG=none TEST=emerge-brya coreboot Change-Id: I47e42376c6b1347c56afaec218aed63c5469f0aa Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77646 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: David Wu <david_wu@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads')
0 files changed, 0 insertions, 0 deletions