Skip to content
Snippets Groups Projects
Unverified Commit 573bafda authored by Richard Cordovano's avatar Richard Cordovano Committed by GitHub
Browse files

Merge pull request #1773 from sleuthkit/release-4.8.0

Merge release-4.8.0 branch into develop branch
parents b559f19d a9b75460
Branches
Tags
No related merge requests found
...@@ -696,17 +696,14 @@ private void validateIndexName(String indexName) throws TskCoreException { ...@@ -696,17 +696,14 @@ private void validateIndexName(String indexName) throws TskCoreException {
/** /**
* Validates given SQL string. * Validates given SQL string.
* *
* Specifically, it ensurer the SQL doesn't have a ";" * @param sql The SQL to validate.
* *
* @param sql * @throws TskCoreException Thrown if the SQL is not valid.
*
* @throws TskCoreException
*/ */
private void validateSQL(String sql) throws TskCoreException { private void validateSQL(String sql) throws TskCoreException {
/*
if (sql.contains(";")) { * TODO (JIRA-5950): Need SQL injection defense in CaseDbAccessManager
throw new TskCoreException("SQL unsafe to execute, it contains a ; "); */
}
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment