mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 15:49:56 +00:00
Blocked revisions 191041,191422 via svnmerge
........ r191041 | seanbright | 2009-04-29 11:23:07 -0400 (Wed, 29 Apr 2009) | 6 lines Fix a crash in app_queue with very long member lists. A user reported via #asterisk that with very long lists of members, a crash occurs in ast_strdupa, so just use a single buffer and ast_copy_string instead of stack allocating copys of each interface name. ........ r191422 | seanbright | 2009-05-01 11:42:48 -0400 (Fri, 01 May 2009) | 7 lines Move the defintion of the a couple arrays out of loops. According to Kevin, it is unspecified as to whether a variable defined inside a block is allocated once by the compiler or for each pass through the block (loops being the only interesting case), so just define these before we get into our loop to be sure. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@191423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in: