Add valgrind-3.9.0-format-security.patch
This commit is contained in:
parent
8fe5759bc7
commit
af75891e83
13
valgrind-3.9.0-format-security.patch
Normal file
13
valgrind-3.9.0-format-security.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/coregrind/m_gdbserver/remote-utils.c b/coregrind/m_gdbserver/remote-utils.c
|
||||||
|
index d8dbe2a..b832d69 100644
|
||||||
|
--- a/coregrind/m_gdbserver/remote-utils.c
|
||||||
|
+++ b/coregrind/m_gdbserver/remote-utils.c
|
||||||
|
@@ -39,7 +39,7 @@
|
||||||
|
static
|
||||||
|
void sr_extended_perror (SysRes sr, const HChar *msg)
|
||||||
|
{
|
||||||
|
- sr_perror (sr, msg);
|
||||||
|
+ sr_perror (sr, "%s", msg);
|
||||||
|
if (VG_(clo_verbosity) > 0 || VG_(debugLog_getLevel)() >= 1) {
|
||||||
|
Int i;
|
||||||
|
vki_sigset_t cursigset;
|
@ -60,6 +60,9 @@ Patch5: valgrind-3.9.0-s390x-ld-supp.patch
|
|||||||
# KDE#334705 - sendmsg and recvmsg should guard against bogus msghdr fields
|
# KDE#334705 - sendmsg and recvmsg should guard against bogus msghdr fields
|
||||||
Patch6: valgrind-3.9.0-msghdr.patch
|
Patch6: valgrind-3.9.0-msghdr.patch
|
||||||
|
|
||||||
|
# KDE#334727 - Build fails with -Werror=format-security
|
||||||
|
Patch7: valgrind-3.9.0-format-security.patch
|
||||||
|
|
||||||
%if %{build_multilib}
|
%if %{build_multilib}
|
||||||
# Ensure glibc{,-devel} is installed for both multilib arches
|
# Ensure glibc{,-devel} is installed for both multilib arches
|
||||||
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
|
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
|
||||||
@ -165,6 +168,7 @@ Valgrind User Manual for details.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
|
%patch7 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# We need to use the software collection compiler and binutils if available.
|
# We need to use the software collection compiler and binutils if available.
|
||||||
@ -328,6 +332,7 @@ echo ===============END TESTING===============
|
|||||||
- Update to upstream svn r13961.
|
- Update to upstream svn r13961.
|
||||||
- Remove valgrind-3.9.0-mpx.patch integrated upstream now.
|
- Remove valgrind-3.9.0-mpx.patch integrated upstream now.
|
||||||
- Add valgrind-3.9.0-msghdr.patch
|
- Add valgrind-3.9.0-msghdr.patch
|
||||||
|
- Add valgrind-3.9.0-format-security.patch
|
||||||
|
|
||||||
* Thu May 8 2014 Mark Wielaard <mjw@redhat.com> 3.9.0-12.svn20140319r13879
|
* Thu May 8 2014 Mark Wielaard <mjw@redhat.com> 3.9.0-12.svn20140319r13879
|
||||||
- Add valgrind-3.9.0-mpx.patch (#1087933)
|
- Add valgrind-3.9.0-mpx.patch (#1087933)
|
||||||
|
Loading…
Reference in New Issue
Block a user