About 74 results
Bokep
- Viewed 108k times33edited Jan 28, 2015 at 8:24
Never use gets. It offers no protections against a buffer overflow vulnerability (that is, you cannot tell it how big the buffer you pass to it is, so it cannot prevent a user from entering a line larger than the buffer and clobbering memory).
Avoid using scanf. If not used carefully, it can have the same buffer overflow problems as gets. Even ignoring that, #TEXTHYPERLINK_RICHDEV_START#http://c-faq.com/stdio/scanfprobs.html it has other problems that ...
Content Under CC-BY-SA license C - scanf() vs gets() vs fgets() - Stack Overflow
Explore further
c - Difference between fgets and gets - Stack Overflow
c - Use of fgets() and gets() - Stack Overflow
What is the difference between getchar/putchar, gets/puts and …
c - What should I use, instead of gets? - Stack Overflow
Why is gets() dangerous - Stack Overflow
- People also ask
c - fgets instead of gets - Stack Overflow
Difference between gets vs scanf vs fgets in C programming
Difference scanf vs gets vs fgets in terms of efficiency
Difference to get string with gets and fgets in C
c - What are options scanf vs gets vs fgets? - Stack Overflow
c - gets vs fgets for overflow in program - Stack Overflow
c - Replacing gets() with fgets() - Stack Overflow
gets() function in C - Stack Overflow
c - Difference between scanf() and fgets() - Stack Overflow
What is the difference between gets () and getc ()?
c - difference between the fgetc() and fgets()? - Stack Overflow
What's the difference between gets and scanf? - Stack Overflow
Difference between read() and fgets() in C - Stack Overflow
getline() vs. fgets(): Control memory allocation - Stack Overflow
Difference between "gets (s);" and "scanf ("%s", s);" in C
c - difference betweent printf and gets - Stack Overflow
c - Difference between fgets and fread - Stack Overflow
Related searches for gets vs fgets site:stackoverflow.com