Files
sqlmap/lib/core
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-18 21:54:21 +02:00
2026-11-06 15:31:35 +01:00
2026-06-14 10:56:44 +02:00
2026-11-03 22:04:29 +01:00
2026-01-01 19:12:07 +01:00
2026-10-27 13:47:04 +01:00
2026-01-01 19:12:07 +01:00
2026-08-13 14:41:00 +02:00
2026-01-01 19:12:07 +01:00
2026-01-01 19:12:07 +01:00
2026-10-27 13:29:36 +01:00
2026-08-11 13:40:57 +02:00
2026-06-28 10:02:50 +02:00
2026-06-21 23:30:52 +02:00
2026-01-01 19:12:07 +01:00
2026-11-10 15:10:16 +01:00
2026-06-22 22:11:16 +02:00
2026-06-22 22:11:16 +02:00
2026-10-05 23:46:59 +02:00
2026-10-19 11:46:27 +02:00
2026-06-05 12:07:15 +02:00
2026-06-12 00:09:07 +02:00