peace-maker 47eb7d60e5 Fix use-after-free crash in SQLite extension (#481)
When the server crashed and the process got terminated, the SqDriver
instance was killed first (e.g. by atexit). SqDatabase tries to access
SqDriver in its destructor.
This patch tells SqDatabase to not use anything from SqDriver anymore
after SqDriver got destroyed.

Next to that, the clientprefs extension relied on the IDatabase pointer
being valid to get the driver pointer. Cache the pointer, so the dbi
system still knows the IDBThreadOperation belonged to the now gone
driver, even after the database object is gone.
2016-10-03 16:31:17 +01:00
2016-10-01 18:15:41 +01:00
2016-08-06 10:51:50 -04:00
2015-03-22 15:36:07 -04:00
2014-05-25 03:18:05 -07:00
🐍🐍🐍🐍🐍🐍🐍🐍🐍🐍🐍🐍
2016-06-11 12:43:04 -04:00
2011-04-13 19:05:41 -05:00
2016-06-05 10:10:07 -04:00
2014-05-27 01:09:12 -06:00

SourceMod

General

Development

S
Description
No description provided
Readme
45 MiB
Languages
C 59.7%
C++ 18%
HTML 4.8%
Roff 3.8%
SourcePawn 3.4%
Other 10%