wine-wine/dlls/msvcrt
Felix Hädicke d20c3d3f1a msvcrt: Use memmove() instead of memcpy() puts_clbk_str().
memcpy() must not be used here, because results are undefined if the
memory areas overlap. This can cause problems, particularly if
particular compiler optimisations are enabled.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47918
Signed-off-by: Felix Hädicke <felixhaedicke@web.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 90e520b418)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
2020-01-20 00:51:37 +01:00
..
tests msvcrt: Reimplement _mbsspnp using _mbsspn. 2020-01-19 22:17:26 +01:00
Makefile.in
console.c
cpp.c
cppexcept.h
ctype.c msvcrt: Optimize toupper function when locale was never changed. 2019-04-05 23:29:44 +02:00
cxx.h
data.c msvcrt: Add some more MSVCRT prefixes to avoid conflicts with recent Mingw. 2018-12-14 18:24:46 +01:00
dir.c
environ.c msvcrt: Use correct locale when comparing strings in getenv. 2019-06-20 21:13:56 +02:00
errno.c
except.c
except_arm.c
except_arm64.c
except_i386.c
except_x86_64.c
exit.c msvcrt: Export onexit functions for compatibility with Mingw. 2018-12-14 18:24:46 +01:00
file.c msvcrt: Fix _putws implementation. 2020-01-20 00:28:50 +01:00
heap.c msvcrt: Use memmove to copy memory in memcpy_s. 2018-10-05 10:48:19 -05:00
locale.c msvcr120: Add [to]wctrans. 2019-06-20 21:13:56 +02:00
lock.c msvcr100: Added _Scoped_lock::_NonReentrantPPLLock class. 2018-10-03 16:25:04 -05:00
main.c
math.c ucrtbase: Add ilogb* functions. 2019-04-26 22:41:17 +02:00
mbcs.c msvcrt: Reimplement _mbsspnp using _mbsspn. 2020-01-19 22:17:26 +01:00
misc.c msvcr110: Fix __crtGetShowWindowMode implementation. 2019-08-14 22:34:25 +02:00
msvcrt.h msvcr120: Add [to]wctrans. 2019-06-20 21:13:56 +02:00
msvcrt.spec msvcrt: Implement _wcsnset_s. 2019-08-14 22:34:25 +02:00
mtdll.h
printf.h msvcrt: Use memmove() instead of memcpy() puts_clbk_str(). 2020-01-20 00:51:37 +01:00
process.c msvcrt: Add some more MSVCRT prefixes to avoid conflicts with recent Mingw. 2018-12-14 18:24:46 +01:00
rsrc.rc
scanf.c
scanf.h ucrtbase: Write the %hh prefix as a single char. 2019-11-14 23:44:57 +01:00
scheduler.c msvcrt: Add Concurrency::details::_Context::_Yield stub. 2020-01-19 23:14:24 +01:00
string.c msvcrt: Don't detect overflow in atol implementation. 2019-06-20 21:13:56 +02:00
thread.c
time.c msvcrt: Fix buffer overflow in _get_tzname. 2019-04-26 22:41:17 +02:00
undname.c
wcs.c msvcrt: Use memmove() instead of memcpy() puts_clbk_str(). 2020-01-20 00:51:37 +01:00