go-crypt icon indicating copy to clipboard operation
go-crypt copied to clipboard

minimal fix for issue-11

Open alan-nettica opened this issue 2 years ago • 0 comments

Since there is no bounds checking on the strlen(enc) there's no point in using strncpy. Therefore, the minimal fix is to simply use strcpy. This has been tested and works as expected.

alan-nettica avatar Apr 03 '24 17:04 alan-nettica