mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 14:32:58 +00:00
f74b50e380
Signed-off-by: Peter Jones <pjones@redhat.com>
41 lines
1.2 KiB
Diff
41 lines
1.2 KiB
Diff
From 9042354c7f7656b6d21cc99241dc637e702e1962 Mon Sep 17 00:00:00 2001
|
|
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
|
|
Date: Sat, 12 Jan 2013 16:21:06 +0100
|
|
Subject: [PATCH 099/482] * grub-core/lib/libgcrypt_wrap/mem.c
|
|
(_gcry_log_bug): Make gcrypt bugs fatal.
|
|
|
|
---
|
|
ChangeLog | 7 ++++++-
|
|
grub-core/lib/libgcrypt_wrap/mem.c | 1 +
|
|
2 files changed, 7 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/ChangeLog b/ChangeLog
|
|
index d83d10a..8a16591 100644
|
|
--- a/ChangeLog
|
|
+++ b/ChangeLog
|
|
@@ -1,4 +1,9 @@
|
|
-2013-01-11 Vladimir Serbinenko <phcoder@gmail.com>
|
|
+2013-01-12 Vladimir Serbinenko <phcoder@gmail.com>
|
|
+
|
|
+ * grub-core/lib/libgcrypt_wrap/mem.c (_gcry_log_bug): Make gcrypt bugs
|
|
+ fatal.
|
|
+
|
|
+2013-01-12 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
|
* autogen.sh: Do not try to delete nonexistant files.
|
|
* util/import_gcrypth.sed: Add some missing header removals.
|
|
diff --git a/grub-core/lib/libgcrypt_wrap/mem.c b/grub-core/lib/libgcrypt_wrap/mem.c
|
|
index a9f0aff..64e8b62 100644
|
|
--- a/grub-core/lib/libgcrypt_wrap/mem.c
|
|
+++ b/grub-core/lib/libgcrypt_wrap/mem.c
|
|
@@ -95,6 +95,7 @@ void _gcry_log_bug (const char *fmt, ...)
|
|
grub_vprintf (fmt, args);
|
|
va_end (args);
|
|
grub_refresh ();
|
|
+ grub_abort ();
|
|
}
|
|
|
|
gcry_err_code_t
|
|
--
|
|
1.8.2.1
|
|
|