Prevent value from being logged in exception handler to avoid data leak
This commit is contained in:
parent
b49f977f22
commit
7ef1132bbb
@ -1634,7 +1634,7 @@ public final class SQLiteDatabase extends SQLiteClosable implements SupportSQLit
|
||||
try {
|
||||
return insertWithOnConflict(table, nullColumnHack, values, CONFLICT_NONE);
|
||||
} catch (SQLException e) {
|
||||
Log.e(TAG, "Error inserting " + values, e);
|
||||
Log.e(TAG, "Error inserting", e);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -1682,7 +1682,7 @@ public final class SQLiteDatabase extends SQLiteClosable implements SupportSQLit
|
||||
return insertWithOnConflict(table, nullColumnHack, initialValues,
|
||||
CONFLICT_REPLACE);
|
||||
} catch (SQLException e) {
|
||||
Log.e(TAG, "Error inserting " + initialValues, e);
|
||||
Log.e(TAG, "Error inserting", e);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user