Asterisk
  1. Asterisk
  2. ASTERISK-15269

[patch] app_queue segfaults if realtime field uniqueid is NULL

    Details

    • Type: Bug Bug
    • Status: Closed
    • Severity: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Target Release Version/s: None
    • Component/s: Applications/app_queue
    • Labels:
      None
    • Source Revision Number:
      232810
    • Mantis ID:
      16385
    • Regression:
      Yes

      Description

      This patch fixes the issue by notifying the user about the error.

      I think this might be the cause of another bug report:
      https://issues.asterisk.org/view.php?id=16037

                • ADDITIONAL INFORMATION ******

      In 1.6.0.5 and below, realtime did not care about the uniqueid field in the database. If you upgrade without taking notice of this new change, asterisk could crash unexpectably, if by chance your uniqueid fields are NULL.

      This would be a freak accident, but I still think asterisk should segfault because of it.

      1. app_queue.c.patch
        0.6 kB
        Håkon Nessjøen

        Issue Links

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: