mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Update python/ql/src/experimental/semmle/python/frameworks/PEP249.qll
Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
@@ -66,7 +66,7 @@ module Connection {
|
||||
* See https://www.python.org/dev/peps/pep-0249/#cursor.
|
||||
*/
|
||||
module cursor {
|
||||
/** Gets a reference to the `db.connection.cursor` metod. */
|
||||
/** Gets a reference to the `db.connection.cursor` method. */
|
||||
private DataFlow::Node methodRef(DataFlow::TypeTracker t) {
|
||||
t.startInAttr("cursor") and
|
||||
result = Connection::instance()
|
||||
|
||||
Reference in New Issue
Block a user