valgrind/valgrind-3.21.0-no-memcpy-replace-check.patch
Mark Wielaard c2752a6b1e Rebase to 3.21.0
Resolves: #2157662
Cannot execute valgrind due to lack of memory (which is not true)

Resolves: #2124345
routine rebase of valgrind for rhel 8.9
2023-05-05 21:08:48 +02:00

14 lines
529 B
Diff

diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c
index b32f13f76..aa7f88ca2 100644
--- a/shared/vg_replace_strmem.c
+++ b/shared/vg_replace_strmem.c
@@ -1128,7 +1128,7 @@ static inline void my_exit ( int x )
MEMMOVE_OR_MEMCPY(20181, soname, fnname, 0)
#define MEMCPY(soname, fnname) \
- MEMMOVE_OR_MEMCPY(20180, soname, fnname, 1)
+ MEMMOVE_OR_MEMCPY(20180, soname, fnname, 0) /* See KDE bug #402833 */
#if defined(VGO_linux)
/* For older memcpy we have to use memmove-like semantics and skip