]> git.pld-linux.org Git - packages/cryptsetup-luks.git/commitdiff
- dietlibc vasprintf fails on NULL format
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 18 Mar 2009 21:33:38 +0000 (21:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cryptsetup-luks-diet.patch -> 1.1

cryptsetup-luks-diet.patch [new file with mode: 0644]

diff --git a/cryptsetup-luks-diet.patch b/cryptsetup-luks-diet.patch
new file mode 100644 (file)
index 0000000..32faf44
--- /dev/null
@@ -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);
+ }
This page took 0.063327 seconds and 4 git commands to generate.