stonedb
stonedb copied to clipboard
feature: Use secure function
Is your feature request related to a problem? Please describe.
Use secure function.
Describe the solution you'd like
ex: memcpy ---> memcpy_s ; strcpy ---> strcpy_s.
strcpy_ s、memcpy_ s and other functions with buffer size check can effectively detect memory overflow and find the wrong code. However, if something like strcpy or memcpy goes wrong, you need to look at the code yourself.
Describe alternatives you've considered
Additional context
Does anyone have good ideas on this issue?