Closed
Bug 478264
Opened 16 years ago
Closed 6 years ago
Check for hardcoding numerical values in SQL strings
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Developer Infrastructure
Source Code Analysis
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: sdwilsh, Unassigned)
References
Details
SQLite ensures that databases can be ported between machines of different endian, but if we hardcode those values, we lose that portability. We also hit issues when we sometimes hardcode the values into the string, and sometimes use the bind API. We should enforce that we only ever use the bind* API for numbers.
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 2•16 years ago
|
||
Note a dupe - this is about getting an analysis for this so it doesn't happen again.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Reporter | ||
Updated•16 years ago
|
Status: REOPENED → NEW
Comment 3•16 years ago
|
||
and that is about looking for all places where we should bind params... so not sure how you want to differentiate those.
Updated•16 years ago
|
Blocks: static_analyses
Updated•7 years ago
|
Product: Core → Firefox Build System
Comment 5•6 years ago
|
||
afaik, this didn't happen after, closing.
Status: NEW → RESOLVED
Closed: 16 years ago → 6 years ago
Resolution: --- → WONTFIX
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•