Blob Blame Raw
From a718c4254f78dd96e9fa1c1e704ba337f8e009e0 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 098/364] 	* 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.1.4