aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorAmirreza Zarrabi <[email protected]>2025-11-14 03:38:42 +0000
committerJens Wiklander <[email protected]>2025-11-17 09:19:29 +0000
commite19d7f7e92e061707252eab2b71d2c3be09b2e96 (patch)
treee6f95be0577a3901f82eed3d684211e2b8a219c3 /lib/test_fortify/write_overflow-strlcpy-src.c
parenttee: qcomtee: fix uninitialized pointers with free attribute (diff)
downloadkernel-e19d7f7e92e061707252eab2b71d2c3be09b2e96.tar.gz
kernel-e19d7f7e92e061707252eab2b71d2c3be09b2e96.zip
tee: qcomtee: initialize result before use in release worker
Initialize result to 0 so the error path doesn't read it uninitialized when the invoke fails. Fixes a Smatch warning. Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/op-tee/[email protected]/ Fixes: d6e290837e50 ("tee: add Qualcomm TEE driver") Signed-off-by: Amirreza Zarrabi <[email protected]> Reviewed-by: Sumit Garg <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Jens Wiklander <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions