String Buffer Overflow
#5

it is just a warning, and suggests that you should check your string lengths.
eg your name variable is 24, and you told sscanf that it is 23, I would start there.

To find out exactly where the warning is occuring, try adding the parameters to the sscanf specifiers one at a time.
Particularly with the array specifier, as the specifier a<i>[2] might require an array of size [3] to work properly ( not sure about this but it is worth looking at )
Reply


Messages In This Thread
String Buffer Overflow - by Antonio [G-RP] - 08.02.2011, 01:14
Re: String Buffer Overflow - by Krx17 - 08.02.2011, 01:29
Re: String Buffer Overflow - by __ - 08.02.2011, 01:42
Re: String Buffer Overflow - by Antonio [G-RP] - 08.02.2011, 02:03
Re: String Buffer Overflow - by Rachael - 08.02.2011, 02:23
Re: String Buffer Overflow - by Antonio [G-RP] - 08.02.2011, 02:53
Re: String Buffer Overflow - by Krx17 - 08.02.2011, 02:57
Re: String Buffer Overflow - by Antonio [G-RP] - 08.02.2011, 03:00
Re: String Buffer Overflow - by (SF)Noobanatior - 08.02.2011, 03:18
Re: String Buffer Overflow - by Mean - 10.02.2011, 12:29

Forum Jump:


Users browsing this thread: 1 Guest(s)