Merged revisions 100465 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Sun, 27 Jan 2008 22:35:29 +0000 (22:35 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Sun, 27 Jan 2008 22:35:29 +0000 (22:35 +0000)
commitac699196f54f4a4659b605c02cfdac6c23d7d971
tree7b27e35fa085d171969d24fcc34ee5ba0350fead
parentaa9c40236ca50f5b80f7d0bdf1b649c8ed5be2e6
Merged revisions 100465 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100465 | tilghman | 2008-01-27 15:59:53 -0600 (Sun, 27 Jan 2008) | 11 lines

When deleting a task from the scheduler, ignoring the return value could
possibly cause memory to be accessed after it is freed, which causes all
sorts of random memory corruption.  Instead, if a deletion fails, wait a
bit and try again (noting that another thread could change our taskid
value).
(closes issue #11386)
 Reported by: flujan
 Patches:
       20080124__bug11386.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76, flujan, stuarth`

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_h323.c
channels/chan_iax2.c
channels/chan_mgcp.c
channels/chan_misdn.c
channels/chan_sip.c
include/asterisk/sched.h
main/cdr.c
main/dnsmgr.c
main/file.c
main/rtp.c
pbx/pbx_dundi.c