summaryrefslogtreecommitdiff
path: root/UPGRADE-12.txt
diff options
context:
space:
mode:
authorScott Griepentrog <sgriepentrog@digium.com>2013-12-19 16:33:09 +0000
committerScott Griepentrog <sgriepentrog@digium.com>2013-12-19 16:33:09 +0000
commit2882c5f9f1f1c81a5a2bae35825d81070bb10164 (patch)
tree8a6ae5b5fdec14e6a83a88881f673568d9f02e64 /UPGRADE-12.txt
parenteb235ad05f26ae41600de6e33d4806f64beda893 (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 'UPGRADE-12.txt')
0 files changed, 0 insertions, 0 deletions