]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Only do frame payload check for HOLD frames.
authorRussell Bryant <russell@russellbryant.com>
Fri, 4 Dec 2009 17:12:47 +0000 (17:12 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 4 Dec 2009 17:12:47 +0000 (17:12 +0000)
commita10f93404d26d8abee3aec5b3246718ee4cdfe0a
tree2cc68184651fc954b824b325b658d1a5034f9822
parent2e6e7dcdc2845194cf779109b4e44a570ff3f3b2
Only do frame payload check for HOLD frames.

This code was added for helping to debug the source of invalid HOLD frames.
However, a side effect of this is that it will incorrectly report errors for
frames that have an integer payload.  Make the check for this block specific
to the HOLD frame case.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c