Tag: security
Questions Related to security
-
Brute force Attack
-
Variable Key Attack
-
Round Key Analysis
-
Plain Text Attack
-
Replace cin call in line 3 with gets() function
-
The length of input from cin cannot be limited. Use a larger array for fname
-
Use cin.width[20] before line 3
-
Use cin.size[19] before line 3
-
No vulnerabilities are present
-
Line 1 should only use malloc(inputsize)
-
Line 2 should be for (i=0; i<=n, i++)
-
Line 1 should use calloc() instead of malloc()
-
Buffer overflow
-
Off by one error
-
Format string vulnerability
-
No vulnerabilities are present in this code
-
Buffer overflow
-
Off by one error
-
Format string vulnerability
-
No vulnerabilities are present in this code
-
Integer overflow
-
Buffer overflow
-
Stack overflow
-
Data type mismatch
-
/GS on Visual C++ and -fmudflap -fmudflapth -fmudflapir on GCC
-
/O in Vc++ and -O2 in GCC
-
/S in Vc++ and -fcrossjumping in GCC
-
/S in VC++ and -fno-function-cse in GCC
-
SQL Injection
-
Arc Injection
-
Buffer Overflow
-
both 2 and 3
-
fstack-protector
-
fstack-protector-all
-
fdelete-null-pointer-checks
-
Both a and b