$ cat bufftest.c
$ cc -o bufftest bufftest.c /tmp/ccjCiHlw.o: In function `main': /tmp/ccjCiHlw.o(.text+0xe): warning: this program uses gets(), which is unsafe. $ ./bufftest warning: this program uses gets(), which is unsafe. normal text normal text $ ./bufftest warning: this program uses gets(), which is unsafe. text longer than the buffer size text longer than the buffer size Segmentation fault (core dumped)