]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Modify our handling of 491 responses to drop any pending reinvite retry scheduler...
authorMatthew Nicholson <mnicholson@digium.com>
Mon, 8 Nov 2010 18:59:20 +0000 (18:59 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Mon, 8 Nov 2010 18:59:20 +0000 (18:59 +0000)
commitea7e7cd8ede6503b7d317608edf4f3e7f9eaadb3
tree54b8417de06ca8d591303c290b376475b280f1da
parentbb88f0dcc5e5c8975cfc906fbcc95cb608be8c80
Modify our handling of 491 responses to drop any pending reinvite retry scheduler entries if we get a new 491.

This prevents a scheduler entry from leaking if we receive a 491 response when one is pending.  If a scheduler entry leaks, the pvt it is associated my get destroyed before the scheduler entry fires, and then memory corruption and crashes can occur when the scheduled reinvite attempts to access and modify the memory of the destroyed pvt.

ABE-2543

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@294163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c