Dialog Response
#6

strval is also unsecure if you use it on user-input without further checks.
If the input contains a very large number or is too long (no matter what it contains) it will or might crash the server, so at least check for the length first.

Or just use sscanf as already suggested.
Reply


Messages In This Thread
removed - by TracerX - 13.07.2016, 15:23
Re: Dialog Response - by Stinged - 13.07.2016, 15:59
Re: Dialog Response - by Sjn - 13.07.2016, 16:07
Re: Dialog Response - by Konstantinos - 13.07.2016, 16:15
Re: Dialog Response - by Sjn - 13.07.2016, 16:20
Re: Dialog Response - by NaS - 13.07.2016, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)