]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix a crash reported to me by hads on IRC. This crash would occur with the use
authorRussell Bryant <russell@russellbryant.com>
Mon, 7 Aug 2006 01:28:29 +0000 (01:28 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 7 Aug 2006 01:28:29 +0000 (01:28 +0000)
commitfdfc694ca31bf9cc28b0758db724ae0f68ae0a74
treea12f5d71bd11b0599592e54c257d642243e487b2
parent1204f825d793d2e84375468f95ed4f338304edcf
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/branches/1.2@39081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_zap.c