Examples of unsafe functions are:
-
I/O functions that could cause a buffer overflow such as
scanf , fscanf and gets .
-
String buffer access functions that could cause a buffer overflow such as
sprintf , sscanf , strcat , strcpy , and __builtin___sprintf_chk .
-
Pseudo-random number generation functions for which it is too easy to break the encryption such as
initstate , lcong48 , rand , random , seed48 , setstate , and [dejlmn]rand48 .
|