chan_dahdi: fix lower bound check with -ve integer conversion from a float
authorAlec L Davis <sivad.a@paradise.net.nz>
Thu, 2 May 2013 06:57:04 +0000 (06:57 +0000)
committerAlec L Davis <sivad.a@paradise.net.nz>
Thu, 2 May 2013 06:57:04 +0000 (06:57 +0000)
commit0b020e8c0bcac71309ddb050f5d033053b1d2419
treedc64dccf35fb928e2faca471766901ce14f1f4a6
parent0b8769546036c68db6170505ef00abcba100c76a
chan_dahdi: fix lower bound check with -ve integer conversion from a float

Lower bound of a 16bit signed int is -32768 not -32767

(closes issue ASTERISK-21744)

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

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

Merged revisions 387298 from http://svn.asterisk.org/svn/asterisk/branches/11

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