Showing posts with label gets. Show all posts
Showing posts with label gets. Show all posts

Friday, May 24, 2013

gets & fgets

gets is a not a safe method to get data as it allows unbounded String size - leading to buffer overflows.

Should use fgets as a buffer size must be provided as an argument.