https://synowl.com/secure-programming-function-argument-statement-access-violation/
Secure C Programming