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);
+ }
+ 
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to