Re: [PATCH v4] riscv: Prevent NULL pointer dereference in machine_kexec_prepare

Markus Elfring <Markus.Elfring-S0/[email protected]> Fri, 3 Jul 2026 16:38:09 +0200
Newsgroups gmane.linux.kernel.kexec,gmane.linux.ports.riscv,gmane.linux.kernel.janitors,gmane.linux.kernel
Message-ID <[email protected]>
> A NULL pointer dereference issue is noticed in riscv's machine_kexec_prepare(),
> where image->segment[i].buf might be NULL and copied unchecked.
…

Would it be helpful to append parentheses to a function name also in the summary phrase?

Why was such a hint not be taken into account from a previous suggestion?

Regards,
Markus