Just to add something to other answers, you better do this because a (long?) time ago people wrote printf like that and hackers found a way to read from and write to the stack, more here.
For example, a simple program like this:
blackbear@blackbear-laptop:~$ cat format_vul.c
#include <stdio.h>
#include
…
Top comments (0)