diff options
author | Scott Griepentrog <sgriepentrog@digium.com> | 2013-12-19 16:33:09 +0000 |
---|---|---|
committer | Scott Griepentrog <sgriepentrog@digium.com> | 2013-12-19 16:33:09 +0000 |
commit | 2882c5f9f1f1c81a5a2bae35825d81070bb10164 (patch) | |
tree | 8a6ae5b5fdec14e6a83a88881f673568d9f02e64 /configs/chan_dahdi.conf.sample | |
parent | eb235ad05f26ae41600de6e33d4806f64beda893 (diff) |
astdb: crash in sqlite3 during shutdown
When Asterisk is shut down, the astdb_atexit() function releases
(finalize) the previously initiated (prepared) SQL statements in
sqlite3. Another thread making a subsequent request can cause a
crash in sqlite3. This patch eliminates that issue by resetting
the statement pointer after it is released/cleared. The sqlite3
code detects the null pointer, and aborts the operation cleanly.
(closes issue AST-1265)
Reported by: Alexander Hömig
(closes issue ASTERISK-22350)
Reported by: Birger "WIMPy" Harzenetter
Review: https://reviewboard.asterisk.org/r/3078/
........
Merged revisions 404344 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 404345 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/chan_dahdi.conf.sample')
0 files changed, 0 insertions, 0 deletions