go-crypt
go-crypt copied to clipboard
minimal fix for issue-11
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.