Add missing va_end() to xasprintf() in grub-emu
PATCH 1/1 Add missing va_end() to xasprintf() in grub-emu
Hi,
I believe there's an unbalanced va_start/va_end pair in grub-emu. This patch fixes it.
Regards,
/Pete
From 0ed65abd009b79955c8578bfb40cc33e51e463ae Mon Sep 17 00:00:00 2001
From: Pete Batard <[email protected]>
Date: Sat, 13 Aug 2016 10:51:34 +0200
Subject: [PATCH] Add missing va_end() to xasprintf() in grub-emu.
--- grub-core/kern/emu/misc.c | 1 + 1 file changed, 1 insertion(+)
grub-core/kern/emu/misc.c +1 -0
@@ -127,6 +127,7 @@ xasprintf (const char *fmt, ...)va_start (ap, fmt); result =grub_xvasprintf (fmt, ap); +va_end (ap);if (!result)grub_util_error ("%s" ,_ ("out of memory" ));
Signature · 1 line
2.8.1.windows.1
Andrei Borzenkov
Applied13.08.2016 11:54, Pete Batard пишет:
Quoted 5 lines
Hi,
I believe there's an unbalanced va_start/va_end pair in grub-emu. This patch fixes it.
Applied. Thanks!