[PATCH] Use memmove instead of strcpy

2018-07-06 Thread Bernhard M. Wiedemann
In https://bugzilla.opensuse.org/show_bug.cgi?id=1100488 we found that depending on the build machine, bash-4.4's bash.html would contain the string Bahh instead of Bash strcpy can cause corruption when working on overlapping strings so we use memmove instead that handles this case correctly ---

[PATCH] Use memmove instead of strcpy

2018-07-06 Thread Bernhard M. Wiedemann
In https://bugzilla.opensuse.org/show_bug.cgi?id=1100488 we found that depending on the build machine, bash-4.4's bash.html would contain the string Bahh instead of Bash strcpy can cause corruption when working on overlapping strings so we use memmove instead that handles this case correctly ---