Re: [PATCH v4] riscv: Prevent NULL pointer dereference in machine_kexec_prepare
Markus Elfring <[email protected]> Fri, 3 Jul 2026 16:38:09 +0200
| Newsgroups | org.kernel.vger.linux-integrity,org.infradead.lists.kexec,org.infradead.lists.linux-riscv,org.kernel.vger.kernel-janitors,org.kernel.vger.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