Asterisk
  1. Asterisk
  2. ASTERISK-13007

[patch] Hang up during call forward into voicemail crashes Asterisk.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Severity: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Target Release Version/s: None
    • Labels:
      None
    • SVN Revision Number:
      153904
    • Mantis ID:
      13829
    • Regression:
      No

      Description

      I've discovered an always recreatable crash:
      Here is the call secenario:

      1) set number1 to call forward all to number2
      2) call number1 from number2
      3) "End Call" quickly: number2 starts to rings itself.
      4) Press "Reject" to send call to voicemail.

      At this point the call is sent to Asterisk and Asterisk starts VoiceMail(number2) although the phone has already hung up.

      The crash is in the expunge process where the IMAP stream is actually NULL at this point.

      This patch checks for a NULL mailstream before expunging messages.

        Activity

        Hide
        Digium Subversion added a comment -

        Repository: asterisk
        Revision: 154066

        U branches/1.4/apps/app_voicemail.c

        ------------------------------------------------------------------------
        r154066 | tilghman | 2008-11-03 16:16:15 -0600 (Mon, 03 Nov 2008) | 5 lines

        Attempting to expunge a mailbox when the mailstream is NULL will crash Asterisk.
        (Closes issue ASTERISK-13007)
        Reported by: jaroth
        Patch by: me (modified jaroth's patch)

        ------------------------------------------------------------------------

        http://svn.digium.com/view/asterisk?view=rev&revision=154066

        Show
        Digium Subversion added a comment - Repository: asterisk Revision: 154066 U branches/1.4/apps/app_voicemail.c ------------------------------------------------------------------------ r154066 | tilghman | 2008-11-03 16:16:15 -0600 (Mon, 03 Nov 2008) | 5 lines Attempting to expunge a mailbox when the mailstream is NULL will crash Asterisk. (Closes issue ASTERISK-13007 ) Reported by: jaroth Patch by: me (modified jaroth's patch) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=154066

          People

          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development