were specified when calling ParkAndAnnounce. This overflow is not exploitable remotely
and so there is no need for a security advisory.
(closes issue #12386)
Reported by: davidw
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@113507
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
tpl_working = template;
tpl_current=strsep(&tpl_working, ":");
- while(tpl_current && looptemp < sizeof(tmp)) {
+ while(tpl_current && looptemp < ARRAY_LEN(tmp)) {
tmp[looptemp]=tpl_current;
looptemp++;
tpl_current=strsep(&tpl_working,":");