Skip to main content
๐Ÿ› Bug HuntC C Hardโšก+35 XP

Buffer Overflow

This code has a dangerous security vulnerability.

๐Ÿ› Find the bug
1char buf[10];
2gets(buf);
๐Ÿ› The bug is on line 2

๐Ÿ”ง Select the correct fix: