Skip to contentSkip to conversation

efiemu/loadcore: Add grub_calloc failure check

PATCH Avnish Chouhan 1 participant 1 message Nov 27, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · On 2025-11-27 12:36, [email protected] wrote:

Message: 3
Date: Thu, 27 Nov 2025 10:06:33 +0300
From: "Vladimir 'phcoder' Serbinenko" <[email protected]>
To: The development of GNU GRUB <[email protected]>
Subject: Re: [PATCH] efiemu/loadcore: Add grub_calloc failure check Message-ID:
<CAEaD8JNBot3GxjjNuApmMXn-EPqmuZmKW8fp1rMLdXfUL6m5kg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Quoted 6 lines

grub_calloc already sets error variables. So you need to return grub_errno and not call grub_error

Regards
Vladimir 'phcoder' Serbinenko

Hi Vladimir,

Sure, I'll change it to as suggested.
Thank you!

Regards,
Avnish Chouhan

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