From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/cryptsetup/patches/patch-lib_utils_c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/cryptsetup/patches/patch-lib_utils_c (limited to 'package/cryptsetup/patches/patch-lib_utils_c') diff --git a/package/cryptsetup/patches/patch-lib_utils_c b/package/cryptsetup/patches/patch-lib_utils_c new file mode 100644 index 000000000..665620528 --- /dev/null +++ b/package/cryptsetup/patches/patch-lib_utils_c @@ -0,0 +1,16 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ + +* prevent segfault with uClibc + http://www.spinics.net/lists/dm-crypt/msg01187.html + +--- cryptsetup-1.0.6.orig/lib/utils.c 2007-12-01 17:29:27.000000000 +0100 ++++ cryptsetup-1.0.6/lib/utils.c 2008-12-25 14:18:46.523091272 +0100 +@@ -27,6 +27,8 @@ static char *error=NULL; + void set_error_va(const char *fmt, va_list va) + { + ++ if(!fmt) return; ++ + if(error) { + free(error); + error=NULL; -- cgit v1.2.3