mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/win32-vd_agent
synced 2026-01-01 12:42:06 +00:00
We currently have macros silently replacing use of strncpy/strcat with strcpy_s/strcat_s when using MSVC++. However, these macros can have unexpected effects as they use sizeof to find out the maximum size of the destination string. This is a very significant difference from strncpy/strcat, which can lead to subtle bugs as the behaviour is different between mingw and MSVC++. Now that we have our implementation of strcpy_s/strcat_s, we don't need these #defines. |
||
|---|---|---|
| .. | ||
| stdint.h | ||
| vdcommon.cpp | ||
| vdcommon.h | ||
| vdlog.cpp | ||
| vdlog.h | ||