diff options
author | Harshit Sharma <harshitsharmajs@gmail.com> | 2020-05-26 00:29:53 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-28 09:34:37 +0000 |
commit | 0d512179c5e33de51620973250c9e3acf18ad082 (patch) | |
tree | e78daf59ca8379f8734fa42912f1f3fd96944578 /src/ec/compal/ene932 | |
parent | 8f2737476805ee9629af1ad16646e6258825a24b (diff) |
payloads/libpayload/libc: Avoid NULL pointer dereference
Avoid dereferencing a NULL pointer in case of function parameter 'ptr'.
Signed-off-by: Harshit Sharma <harshitsharmajs@gmail.com>
Change-Id: I5dba27d9757fb55476f3d5848f0ed26ae9494bee
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41698
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/ec/compal/ene932')
0 files changed, 0 insertions, 0 deletions