Files
sqlmap/lib/utils
Piyush satyarthiandPiyushSatyarthi cb5216564a Close leaked sqlite3 connections (ResourceWarning on Python 3.13+) (#6181)
Python 3.13+ reports sqlite3 connections that are garbage collected
without being closed. The unit tests print a run of
"ResourceWarning: unclosed database" lines on Linux/CPython 3.14:

- SQLAlchemy.close() only returned its connection to the engine's
  pool, so the underlying DBAPI connection (e.g. sqlite3 for
  '-d sqlite://...') stayed open. Dispose the engine on close.
- vulnTest() used "with sqlite3.connect(...)", which commits but does
  not close the connection. Use contextlib.closing().
- test_multibit and test_sqlalchemy never closed what they opened.

Co-authored-by: PiyushSatyarthi <[email protected]>
2026-11-12 09:46:10 +01:00
..
2026-01-01 19:12:07 +01:00
2026-10-17 13:06:38 +02:00
2026-07-09 09:56:51 +02:00
2026-07-28 16:42:37 +02:00
2026-07-25 19:10:58 +02:00
2026-07-12 10:32:57 +02:00
2026-07-11 15:51:04 +02:00
2026-07-17 14:46:52 +02:00
2026-01-01 19:12:07 +01:00
2026-07-19 16:31:08 +02:00
2026-11-02 11:13:40 +01:00
2026-11-10 15:10:16 +01:00
2026-08-16 23:52:22 +02:00
2026-08-08 01:07:07 +02:00
2026-07-24 14:27:05 +02:00
2026-07-02 00:19:31 +02:00
2026-07-09 13:25:50 +02:00
2026-08-07 17:04:32 +02:00
2026-06-14 17:05:32 +02:00
2026-07-28 21:58:51 +02:00
2019-05-09 15:47:23 +02:00
2026-07-12 20:27:37 +02:00
2026-01-01 19:12:07 +01:00
2026-06-24 11:11:03 +02:00
2026-01-01 19:12:07 +01:00
2026-06-28 02:09:50 +02:00