Patch level : 12.0 984
Files correlati : f90.exe Commento : Corretta query per fppro
This commit is contained in:
parent
fb9f970441
commit
5c42f6006b
@ -33,7 +33,7 @@ bool TFppro::sql_inj(const keys_s& keys)
|
|||||||
str.add(keys.prginvio);
|
str.add(keys.prginvio);
|
||||||
str.add(keys.headerfatt);
|
str.add(keys.headerfatt);
|
||||||
str.add(keys.bodyfatt);
|
str.add(keys.bodyfatt);
|
||||||
return sql_inj(str) || str.contains("'") || str.contains("\\");
|
return sql_inj(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool TFppro::check_reg(TToken_string& keys, int numreg)
|
bool TFppro::check_reg(TToken_string& keys, int numreg)
|
||||||
|
@ -34,7 +34,7 @@ typedef struct _prot_s
|
|||||||
|
|
||||||
/** \class TFppro
|
/** \class TFppro
|
||||||
* Tutti i metodi che settano le chiavi, possono fallire principalmente per due motivi:
|
* Tutti i metodi che settano le chiavi, possono fallire principalmente per due motivi:
|
||||||
* 1) Possbile SQL Injection;
|
* 1) Possibile SQL Injection;
|
||||||
* 2) Chiavi settate non valide (una delle tre e' vuota).
|
* 2) Chiavi settate non valide (una delle tre e' vuota).
|
||||||
*/
|
*/
|
||||||
class TFppro : public TObject
|
class TFppro : public TObject
|
||||||
|
Loading…
x
Reference in New Issue
Block a user