chan_sip: [general] maxforwards, not checked for a value greater than 255
authorAlec L Davis <sivad.a@paradise.net.nz>
Thu, 26 Apr 2012 09:48:55 +0000 (09:48 +0000)
committerAlec L Davis <sivad.a@paradise.net.nz>
Thu, 26 Apr 2012 09:48:55 +0000 (09:48 +0000)
commit5746e0d2ac01174c94a59b06f2906fc960deae16
tree355d96cf7de3eb789de7f4e575c6e3a2ca602683
parent9d655bd0e8db12011f2575ba2e98a4f3273e2463
chan_sip: [general] maxforwards, not checked for a value greater than 255

The peer maxforwards is checked for both '< 1' and '> 255',
but the default 'maxforwards' in the [general] section is only checked for '< 1'

alecdavis (license 585)
Reported by: alecdavis
Tested by: alecdavis

Review: https://reviewboard.asterisk.org/r/1888/
........

Merged revisions 363934 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 363935 from http://svn.asterisk.org/svn/asterisk/branches/10

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