VULNERABLE C FUNCTIONS

VULNERABLE C FUNCTIONS

these functions have no bounds checking. these functions will consume, create & write data until a null terminating string is encountered

strcpy(), strcat(), strpringf(), vsprintf(), gets(), scanf()

SECURE C FUNCTIONS (ALTERNATIVES)

strncpy(), strncat(), snprintf(), fgets()

Last updated