diff options
author | Joel Kitching <kitching@google.com> | 2019-03-16 16:58:27 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-18 09:17:01 +0000 |
commit | 51ffa7e810ee243b24848a25c8f5193910886b32 (patch) | |
tree | a48e459f368032dd6e7b1a0dedcf3e413cc2321a /Documentation/soc | |
parent | d2894f690ade8bedefdf4b934f2d3f28c3086b1d (diff) |
vboot: move assert in vboot_migrate_cbmem
Fix a potential null pointer dereference when calling
memcpy. assert should be before the memcpy call,
and not after.
BUG=b:124141368, b:124192753
TEST=util/lint/checkpatch.pl -g origin/master..HEAD
TEST=util/abuild/abuild -B -e -y -c 50 -p none -x
TEST=make clean && make test-abuild
BRANCH=none
Change-Id: I5a2a99e906b9aa3bb33e1564d8d33a0aca7d06ac
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31923
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'Documentation/soc')
0 files changed, 0 insertions, 0 deletions