]> git.ipfire.org Git - thirdparty/asterisk.git/commit
(closes issue #13090)
authorSteve Murphy <murf@digium.com>
Wed, 16 Jul 2008 17:53:43 +0000 (17:53 +0000)
committerSteve Murphy <murf@digium.com>
Wed, 16 Jul 2008 17:53:43 +0000 (17:53 +0000)
commit3fcfa4761125ab4bf6444f568f54cd3ab29a019c
tree978cca8266001336bd890ec702161e559981f07e
parent4a3a733924c19b6e5416dbb2a03f87d5a59da767
(closes issue #13090)
Reported by: murf

The problem was that, esoteric as it is, because the hangerupper
context immediately preceded the std-priv-extent macro, that
the checking code accidentally would fall from traversing hangerupper
into the std-priv-exten macro, where it would hit the hangerupper
in the 'includes', and proceed into an infinite recursion.

A small fix to traverse into the statements of the context instead
of the context solves this issue.

I also added some commented out printfs for debug, which were pretty
handy in the face of a dorky gdb.

This was a problem around since the package was first written;
but evidently pretty rare in turning up in the field.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@131242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
pbx/pbx_ael.c