-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added validation in init, marked lines for Bandit
You can't use bound parameters for things like table names that aren't technically parameters in sqlite3. Moved some basic input validation into the init function and marked lines for bandit. Because bandit doesn't deal well with multi-lines with `nosec` comments, I've added descriptive comments to some select statements. Signed-off-by: Terri Oda <terri.oda@intel.com>
- Loading branch information
Showing
1 changed file
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters