Thread (3 messages) 3 messages, 3 authors, 2026-01-01

Re: [PATCH] arm: fix uninitialized pointers with free attr

From: Sudeep Holla <hidden>
Date: 2026-01-01 17:55:30
Also in: arm-scmi, lkml

On Wed, 05 Nov 2025 19:37:52 +0530, Ally Heev wrote:
Uninitialized pointers with `__free` attribute can cause undefined
behaviour as the memory assigned(randomly) to the pointer is freed
automatically when the pointer goes out of scope

arm doesn't have any bugs related to this as of now, but
it is better to initialize and assign pointers with `__free` attr
in one statement to ensure proper scope-based cleanup

[...]
Applied with $subject changed to sudeep.holla/linux (for-next/scmi/updates), thanks!

[1/1] arm: fix uninitialized pointers with free attr
      https://git.kernel.org/sudeep.holla/c/78b74136affd

--
Regards,
Sudeep

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help