Created
March 8, 2011 06:41
-
-
Save CrBoy/859948 to your computer and use it in GitHub Desktop.
An example showing why to use fgets() instead of gets() to prevent buffer overflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.ithome.com.tw/itadm/article.php?c=66229 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment