[ 1686876 ] ValuePreference class: SQL Injection
http://sourceforge.net/tracker/index.php?func=detail&aid=1686876&group_id=176962&atid=879332
This commit is contained in:
parent
eb78424ef6
commit
a193de0152
|
@ -475,7 +475,7 @@ public class ValuePreference extends CDialog
|
|||
else
|
||||
sql.append("NULL,");
|
||||
//
|
||||
sql.append("'").append(m_Attribute).append("','").append(m_Value).append("')");
|
||||
sql.append(DB.TO_STRING(m_Attribute)).append(",").append(DB.TO_STRING(m_Value)).append(")");
|
||||
//
|
||||
log.fine( sql.toString());
|
||||
no = DB.executeUpdate(sql.toString(), null);
|
||||
|
|
Loading…
Reference in New Issue