SOURCES: cryptsetup-luks-diet.patch (NEW) - dietlibc vasprintf fails on NUL...
baggins
baggins at pld-linux.org
Wed Mar 18 22:33:43 CET 2009
Author: baggins Date: Wed Mar 18 21:33:43 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- dietlibc vasprintf fails on NULL format
---- Files affected:
SOURCES:
cryptsetup-luks-diet.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/cryptsetup-luks-diet.patch
diff -u /dev/null SOURCES/cryptsetup-luks-diet.patch:1.1
--- /dev/null Wed Mar 18 22:33:44 2009
+++ SOURCES/cryptsetup-luks-diet.patch Wed Mar 18 22:33:38 2009
@@ -0,0 +1,13 @@
+--- cryptsetup-1.0.6/lib/utils.c~ 2007-12-01 17:29:27.000000000 +0100
++++ cryptsetup-1.0.6/lib/utils.c 2009-03-18 22:32:25.000000000 +0100
+@@ -31,7 +31,9 @@
+ free(error);
+ error=NULL;
+ }
+-
++#ifdef __dietlbc__
++ if (fmt)
++#endif
+ vasprintf(&error, fmt, va);
+ }
+
================================================================
More information about the pld-cvs-commit
mailing list