]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix race in astdb
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 17 Mar 2009 05:50:52 +0000 (05:50 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 17 Mar 2009 05:50:52 +0000 (05:50 +0000)
commitd09fddd38ed18b9cb103353618c4fe3640324577
tree296b1ff31439173ce815ebf2c6c7bb249f9704e4
parent3cbc42e2e458dac6ccc68e68ada7dfcb416fd111
Fix race in astdb
The underlying db1 implementation does not fully isolate the pages retrieved
from astdb, so the lock protecting accesses needs to be extended until the
copy from the shared memory structure is done.
(closes issue #14682)
 Reported by: makoto

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@182449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/db.c