Update valgrind-3.21.0-no-memcpy-replace-check.patch (memcpy_chk)

Resolves: #2214374
__memmove_chk seen as __memcpy_chk
This commit is contained in:
Mark Wielaard 2023-06-23 17:30:50 +02:00
parent ab4fec097c
commit 5b624e8ca1
2 changed files with 11 additions and 1 deletions

View File

@ -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; \

View File

@ -477,6 +477,7 @@ fi
* Fri Jun 23 2023 Mark Wielaard <mjw@redhat.com> * Fri Jun 23 2023 Mark Wielaard <mjw@redhat.com>
- Add valgrind-3.21.0-callgrind_control-no-strict.patch - Add valgrind-3.21.0-callgrind_control-no-strict.patch
- Add valgrind-3.21.0-realloc-again.patch - Add valgrind-3.21.0-realloc-again.patch
- Update valgrind-3.21.0-no-memcpy-replace-check.patch (memcpy_chk)
* Tue May 16 2023 Alexandra Hájková <ahajkova@redhat.com> - 3.21.0-3 * Tue May 16 2023 Alexandra Hájková <ahajkova@redhat.com> - 3.21.0-3
- Add valgrind-3.21.0-Add-with-gdbscripts-dir.patch - Add valgrind-3.21.0-Add-with-gdbscripts-dir.patch