]> git.pld-linux.org Git - packages/samba.git/commitdiff
- fix missing format string
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 13 Feb 2022 17:15:10 +0000 (18:15 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 13 Feb 2022 17:15:10 +0000 (18:15 +0100)
format-security.patch [new file with mode: 0644]
samba.spec

diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..73676b1
--- /dev/null
@@ -0,0 +1,11 @@
+--- samba-4.15.5/lib/util/debug.c~     2021-12-08 15:35:56.000000000 +0100
++++ samba-4.15.5/lib/util/debug.c      2022-02-13 18:13:26.956292670 +0100
+@@ -282,7 +282,7 @@
+ static void debug_lttng_log(int msg_level,
+                           const char *msg, const char *msg_no_nl)
+ {
+-      tracef(msg_no_nl);
++      tracef("%s", msg_no_nl);
+ }
+ #endif /* WITH_LTTNG_TRACEF */
index 18f7b83f0e9699d2cc869bf9e16040b3e5a018e3..eea6c5e5a3956328bf6fc7a1e2a3dd54cf1cddc5 100644 (file)
@@ -68,6 +68,7 @@ Patch5:               %{name}-heimdal.patch
 Patch6:                server-role.patch
 Patch7:                %{name}-bug-9816.patch
 Patch8:                %{name}-no_libbsd.patch
+Patch9:                format-security.patch
 URL:           https://www.samba.org/
 BuildRequires: acl-devel
 %{?with_avahi:BuildRequires:   avahi-devel}
@@ -568,6 +569,7 @@ wyeksportowania do PMCD.
 %patch6 -p1
 %patch7 -p1
 %{!?with_system_libbsd:%patch8 -p1}
+%patch9 -p1
 
 %{__sed} -i -e '1s|#!/usr/bin/env bash|#!/bin/bash|' ctdb/tools/onnode
 %{__sed} -i -e '1s|#!/usr/bin/env perl|#!/usr/bin/perl|' pidl/pidl
This page took 0.08166 seconds and 4 git commands to generate.