]> git.pld-linux.org Git - packages/cryptlib.git/commitdiff
- fix format string error
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 22 Dec 2015 22:45:52 +0000 (23:45 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 22 Dec 2015 22:45:52 +0000 (23:45 +0100)
cryptlib.spec
format-security.patch [new file with mode: 0644]

index 53fa8d9cfc81ce0597f389d98761f483bc399458..7e1bc52401f0520faeb2e8b10dc941a6a839bd2d 100644 (file)
@@ -15,6 +15,7 @@ Patch0:               %{name}-rdtsc.patch
 Patch1:                %{name}-soname.patch
 Patch2:                optflags.patch
 Patch3:                x32.patch
+Patch4:                format-security.patch
 URL:           http://www.cs.auckland.ac.nz/~pgut001/cryptlib/
 BuildRequires: rpmbuild(macros) >= 1.710
 BuildRequires: python-devel >= 1:2.5
@@ -89,6 +90,7 @@ unzip -q -L -a %{SOURCE0}
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__make} \
diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..711ccd1
--- /dev/null
@@ -0,0 +1,11 @@
+--- cryptlib-3.3.3/session/cmp_rdmsg.c~        2009-07-10 23:39:22.000000000 +0200
++++ cryptlib-3.3.3/session/cmp_rdmsg.c 2015-12-22 23:43:53.932096178 +0100
+@@ -276,7 +276,7 @@
+                                 "locus %d", errorType, errorLocus ) );
+               }
+       retExt( errorStatus,
+-                      ( errorStatus, SESSION_ERRINFO, 
++                      ( errorStatus, SESSION_ERRINFO, "%s",
+                         extErrorInfoPtr->errorString ) );
+       }
+ #else
This page took 0.09368 seconds and 4 git commands to generate.