diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2018-07-11 13:54:50 +0200 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-07-12 15:21:36 +0000 |
commit | f4d81e03859f3dfed186b6a4314bb0fb59cf14ac (patch) | |
tree | 43a6de19558b11b6520fb260dcfa99436d322cb1 /src/console | |
parent | 679d624fae6d96e53264c2b6f0dd6216636fab15 (diff) |
Coverity: Fix CID1393978
Fix a typo.
Only memcpy into target buffer if pointer is not NULL.
Change-Id: I1aa4b2ce1843e53ab6ed2224eaa928fc79ea3b83
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/27446
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src/console')
0 files changed, 0 insertions, 0 deletions