aboutsummaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2019-08-09 17:14:00 -0600
committerAnup Patel <anup.patel@wdc.com>2019-08-12 09:27:47 +0530
commit6c24193293e7cc0854994d7551f32e31ebc06ff6 (patch)
tree8b1be96555799f446d346a380d4a4a74d977d636 /firmware
parent5e4021a2f5ca346d1c12b80d346c1a2e7eb4b501 (diff)
lib: Correct null pointer check
In order to prevent a possible null pointer dereference, return early if either one of 'in' or 'data' is null. Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions