SSCANF WARNING
#4

Quote:
Originally Posted by AjaxM
Посмотреть сообщение
sscanf warning: 'z' is deprecated, consider using 'S' instead.

You are using 'z' somewhere in the script instead of using the specifier 's'.

Example:

PHP код:
if(sscanf(params"z", ...)) 
Use 'S' instead of 'z'.

sscanf warning: Strings without a length are deprecated, please add a destination size.

Example:

PHP код:
new eg[5];
if(
sscanf(params"s"eg)) 
Should be

PHP код:
new eg[5];
if(
sscanf(params"s[5]"eg)) 
This can even cause your server to crash.
let's not exaggerate.
Reply


Messages In This Thread
SSCANF WARNING - by itachi - 20.04.2017, 06:42
Re: SSCANF WARNING - by X337 - 20.04.2017, 07:21
Re: SSCANF WARNING - by AjaxM - 20.04.2017, 07:23
Re: SSCANF WARNING - by iLearner - 20.04.2017, 07:46

Forum Jump:


Users browsing this thread: 1 Guest(s)