Sscanf warning: String buffer overflow
#5

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Increase the string size in sscanf for the "whisp" variable, apparently 90 cells isn't enough!
Duh, I know that, but as it's a command, there's always that MORON who will type dpfamdfsgposdifmbspofvibmxpocvibmxpoifgmspodifmgps odifmgpsodifmg just to fill in the entire space in the chatbox. This will overflow the array. So what? Would the only solution be increasing ALL of my strings' sizes to 128? I'm definitely not doing that and fucking my stack.
Reply


Messages In This Thread
Sscanf warning: String buffer overflow - by hellangel - 19.12.2011, 01:33
Re: Sscanf warning: String buffer overflow - by Hoborific - 19.12.2011, 01:58
Re: Sscanf warning: String buffer overflow - by hellangel - 19.12.2011, 02:02
Re: Sscanf warning: String buffer overflow - by Scenario - 19.12.2011, 02:06
Re: Sscanf warning: String buffer overflow - by hellangel - 19.12.2011, 02:08
Re: Sscanf warning: String buffer overflow - by Scenario - 19.12.2011, 02:11
Re: Sscanf warning: String buffer overflow - by hellangel - 19.12.2011, 02:15
Re: Sscanf warning: String buffer overflow - by Scenario - 19.12.2011, 02:17
Re: Sscanf warning: String buffer overflow - by hellangel - 19.12.2011, 02:28
Re: Sscanf warning: String buffer overflow - by Calgon - 19.12.2011, 02:35

Forum Jump:


Users browsing this thread: 1 Guest(s)