]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Increase buffer size to be PATH_MAX for a path.
authorRussell Bryant <russell@russellbryant.com>
Thu, 5 May 2011 19:55:58 +0000 (19:55 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 5 May 2011 19:55:58 +0000 (19:55 +0000)
(closes issue #19239)
Reported by: byronclark
Patches:
      queue_announce_length.patch uploaded by byronclark (license 1200)

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

apps/app_queue.c

index 48e30b0d93bd70406770f8644ac6ec201a89ded1..e494c7ea64915b8c22df01bfa77e7b3747690e72 100644 (file)
@@ -999,7 +999,7 @@ struct callattempt {
 struct queue_ent {
        struct call_queue *parent;             /*!< What queue is our parent */
        char moh[80];                          /*!< Name of musiconhold to be used */
-       char announce[80];                     /*!< Announcement to play for member when call is answered */
+       char announce[PATH_MAX];               /*!< Announcement to play for member when call is answered */
        char context[AST_MAX_CONTEXT];         /*!< Context when user exits queue */
        char digits[AST_MAX_EXTENSION];        /*!< Digits entered while in queue */
        int valid_digits;                      /*!< Digits entered correspond to valid extension. Exited */