https://bugs.kde.org/show_bug.cgi?id=402833

Mark Wielaard <m...@klomp.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #6 from Mark Wielaard <m...@klomp.org> ---
For now I added the following "workaround" to Fedora because we keep getting
bug reports of memmove calls reporting src/dst overlaps:

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

We really should not do ifunc resolving for these two functions, just intercept
them directly

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to