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

From: Markus Elfring

Date: Fri Jul 03 2026 - 10:44:21 EST


> 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