3.21.0-5 - Update valgrind-3.21.0-no-memcpy-replace-check.patch (memcpy_chk)
This commit is contained in:
parent
6f8aeb0d15
commit
0bfc408a6b
@ -1,5 +1,5 @@
|
|||||||
diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c
|
diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c
|
||||||
index b32f13f76..aa7f88ca2 100644
|
index b32f13f76..464e8d4ca 100644
|
||||||
--- a/shared/vg_replace_strmem.c
|
--- a/shared/vg_replace_strmem.c
|
||||||
+++ b/shared/vg_replace_strmem.c
|
+++ b/shared/vg_replace_strmem.c
|
||||||
@@ -1128,7 +1128,7 @@ static inline void my_exit ( int x )
|
@@ -1128,7 +1128,7 @@ static inline void my_exit ( int x )
|
||||||
@ -11,3 +11,12 @@ index b32f13f76..aa7f88ca2 100644
|
|||||||
|
|
||||||
#if defined(VGO_linux)
|
#if defined(VGO_linux)
|
||||||
/* For older memcpy we have to use memmove-like semantics and skip
|
/* For older memcpy we have to use memmove-like semantics and skip
|
||||||
|
@@ -1714,8 +1714,6 @@ static inline void my_exit ( int x )
|
||||||
|
RECORD_COPY(len); \
|
||||||
|
if (len == 0) \
|
||||||
|
return dst; \
|
||||||
|
- if (is_overlap(dst, src, len, len)) \
|
||||||
|
- RECORD_OVERLAP_ERROR("memcpy_chk", dst, src, len); \
|
||||||
|
if ( dst > src ) { \
|
||||||
|
d = (HChar *)dst + len - 1; \
|
||||||
|
s = (const HChar *)src + len - 1; \
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Summary: Dynamic analysis tools to detect memory or thread bugs and profile
|
Summary: Dynamic analysis tools to detect memory or thread bugs and profile
|
||||||
Name: %{?scl_prefix}valgrind
|
Name: %{?scl_prefix}valgrind
|
||||||
Version: 3.21.0
|
Version: 3.21.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://www.valgrind.org/
|
URL: https://www.valgrind.org/
|
||||||
@ -468,6 +468,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 30 2023 Mark Wielaard <mjw@fedoraproject.org> - 3.21.0-5
|
||||||
|
- Update valgrind-3.21.0-no-memcpy-replace-check.patch (memcpy_chk)
|
||||||
|
|
||||||
* Wed May 17 2023 Mark Wielaard <mjw@fedoraproject.org> - 3.21.0-4
|
* Wed May 17 2023 Mark Wielaard <mjw@fedoraproject.org> - 3.21.0-4
|
||||||
- Add valgrind-3.21.0-epoll_pwait2.patch
|
- Add valgrind-3.21.0-epoll_pwait2.patch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user