diff options
| author | Amirreza Zarrabi <[email protected]> | 2025-11-14 03:38:42 +0000 |
|---|---|---|
| committer | Jens Wiklander <[email protected]> | 2025-11-17 09:19:29 +0000 |
| commit | e19d7f7e92e061707252eab2b71d2c3be09b2e96 (patch) | |
| tree | e6f95be0577a3901f82eed3d684211e2b8a219c3 /lib/test_fortify/write_overflow-strlcpy-src.c | |
| parent | tee: qcomtee: fix uninitialized pointers with free attribute (diff) | |
| download | kernel-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
