Merged revisions 39081 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Mon, 7 Aug 2006 01:32:51 +0000 (01:32 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 7 Aug 2006 01:32:51 +0000 (01:32 +0000)
commit12b3d4a49e768c64e295a0d621041e923b66afc0
treec615035689947f67e2db9267e2e83fad9045aaef
parent954ed66a0a07fc24aa4d669e4bb820d8ebf49834
Merged revisions 39081 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r39081 | russell | 2006-08-06 21:28:29 -0400 (Sun, 06 Aug 2006) | 7 lines

Fix a crash reported to me by hads on IRC.  This crash would occur with the use
of the "distinctiveringaftercid" option.  Also, on this user's system, the crash
would only occur when built without optimizations.  This is because the bug is
that the code would write past the end of an array that was allocated on the
stack, and the structure of the stack is different with or without optimizations
enabled.

........

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