On Wed, Nov 19, 2025 at 07:18:52PM +0530, Avnish Chouhan wrote:
> On 2025-11-19 17:41, [email protected] wrote:
> > Message: 1
> > Date: Wed, 19 Nov 2025 15:30:47 +0530
> > From: Sudhakar Kuppusamy <[email protected]>
> > To: [email protected]
> > Cc: Sudhakar Kuppusamy <[email protected]>, [email protected],
> >     [email protected], [email protected]
> > Subject: [PATCH v1] linux/ofpath: Add missing strdup failure checks
> > Message-ID: <[email protected]>
> >
> > Segmentation faults or undefined behaviour may result from a null
> > pointer
> > dereference in strip_trailing_digits and grub_util_devname_to_ofpath if
> > strdup() fails. Therefore, I added a NULL check to fix this.
> >
> > Signed-off-by: Sudhakar Kuppusamy <[email protected]>
> > Reviewed-by: Srish Srinivasan <[email protected]>
> > ---
>
> Reviewed-by: Avnish Chouhan <[email protected]>

Reviewed-by: Daniel Kiper <[email protected]>

Daniel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to