This question already has an answer here:
When i use gets function,gcc gives me a warning:
warning:the `gets' function is dangerous and should not be used.
Why gets and puts function dangerous?
This question already has an answer here:
When i use gets function,gcc gives me a warning:
warning:the `gets' function is dangerous and should not be used.
Why gets and puts function dangerous?
Buffer overruns are dangerous. Here's the definition:
How big is the buffer? If a user types more data that can fit in the buffer, the program could crash and be susceptible to hacker exploits.