summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorAlly Heev <allyheev@gmail.com>2025-11-11 13:26:42 +0530
committerJens Wiklander <jens.wiklander@linaro.org>2025-11-14 08:42:07 +0100
commitac5ae0a5ce22640f73677d40730a37f43df442d1 (patch)
tree7828b9094b81b3f06c77ee1c8506ad4fbac935a8 /scripts/lib/kdoc/kdoc_files.py
parent3a8660878839faadb4f1a6dd72c3179c1df56787 (diff)
tee: qcomtee: fix uninitialized pointers with free attribute
Uninitialized pointers with `__free` attribute can cause undefined behavior as the memory assigned randomly to the pointer is freed automatically when the pointer goes out of scope. qcomtee doesn't have any bugs related to this as of now, but it is better to initialize and assign pointers with `__free` attribute in one statement to ensure proper scope-based cleanup Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Closes: https://lore.kernel.org/all/aPiG_F5EBQUjZqsl@stanley.mountain/ Signed-off-by: Ally Heev <allyheev@gmail.com> Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions