Skip to content
Commit 6c241932 authored by Jacob Garber's avatar Jacob Garber Committed by Anup Patel
Browse files

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: default avatarJacob Garber <jgarber1@ualberta.ca>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
parent 5e4021a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment