Re: [Openvpn-devel] [PATCH 5/5] iservice: Resolve MSVC C4996 warnings

2021-03-21 Thread Arne Schwabe
Am 21.03.21 um 15:46 schrieb Simon Rozman via Openvpn-devel: > Lots of string functions were declared unsafe in favor of ..._s() > counterparts. However, the code already is careful about the buffer > size. Code analysis is just not smart enough (yet) to detect this. > > The code was refactored

[Openvpn-devel] [PATCH 5/5] iservice: Resolve MSVC C4996 warnings

2021-03-21 Thread Simon Rozman via Openvpn-devel
Lots of string functions were declared unsafe in favor of ..._s() counterparts. However, the code already is careful about the buffer size. Code analysis is just not smart enough (yet) to detect this. The code was refactored to use ..._s() variants MSVC is considering as "safe". Signed-off-by: