Arian8j2 / ClipboardXX

Header only, lightweight and cross platform C++ library for copy and paste text from clipboard.
GNU General Public License v3.0
63 stars 11 forks source link

Change strncpy() to strncpy_s() in the CopyText function. #2

Closed ghost closed 3 years ago

ghost commented 3 years ago

strncpy() now returns an unsafe error when compiling in VS2019. Error says change to strncpy_s();

Arian8j2 commented 3 years ago

Thanks for reporting, Totally forgot about Microsoft unsafe functions, This issue is now fixed in 44b74b2 commit.