Re: [PATCH] tools/resolve_btfids: Fix 'variable' may be used uninitialized warnings
From: Eder Zulian
Date: Sat Oct 12 2024 - 04:08:50 EST
Hi Sam, thank you for pointing it out.
On Sat, Oct 12, 2024 at 05:14:29AM +0100, Sam James wrote:
> The parse-options change was sent before as
> https://lore.kernel.org/all/20240731085217.94928-1-michael.weiss@xxxxxxxxxxxxxxxxxxx/
Sorry, I missed Michael's patch.
My suggestion is to initialize 'o' to NULL instead. An illegal dereferencing
(if any) would then be evident.
> but seems to have fallen through the cracks.
>
>
Would it be better to revert this part and wait a bit for Michael's patch to
be merged, please let me know.
Thank you,
Eder