]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 159269 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 25 Nov 2008 21:57:59 +0000 (21:57 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 25 Nov 2008 21:57:59 +0000 (21:57 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r159269 | tilghman | 2008-11-25 15:56:48 -0600 (Tue, 25 Nov 2008) | 7 lines

  Don't try to send a response on a NULL pvt.
  (closes issue #13919)
   Reported by: barthpbx
   Patches:
         chan_iax2.c.patch uploaded by eliel (license 64)
   Tested by: barthpbx
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@159276 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index e95d39f4c909e9949b1fe525706d154709af10f5..38fb9983b6c319c344551b5bd1cd9765959f92c8 100644 (file)
@@ -7208,7 +7208,7 @@ static int update_registry(struct sockaddr_in *sin, int callno, char *devtype, i
 
        /* Make sure our call still exists, an INVAL at the right point may make it go away */
        if (!iaxs[callno]) {
-               res = 0;
+               res = -1;
                goto return_unref;
        }