Details
-
Type:
Task
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.9.53
-
Component/s: DBAPI 2.0
-
Labels:None
-
Environment:Python 3.7.5 on Ubuntu 19.10
Description
While testing cursor.executemany() for Docs, I mistyped and called execute() with a tuple of tuples passed as data, which resulted in a segmentation fault.
cur.execute("INSERT INTO test.t1(fname, sname) VALUES (?, ?)", (("Walker", "Percy"), ("Flannery", "O'Connor")))
Believe we should have a check of some kind to prevent malformed data from crashing the program.