]> git.ipfire.org Git - thirdparty/asterisk.git/commit
AST-2016-002 chan_sip.c: Fix retransmission timeout integer overflow. 71/2171/2
authorRichard Mudgett <rmudgett@digium.com>
Mon, 28 Sep 2015 22:07:42 +0000 (17:07 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 3 Feb 2016 21:06:12 +0000 (15:06 -0600)
commitc7ab026196963e51f9e6c7469e2e446efab7462e
tree7cceee10db660dce0f5413068848f8873b9ec451
parent7d581b32e982eb45f3164e538fc043f1fe71807c
AST-2016-002 chan_sip.c: Fix retransmission timeout integer overflow.

Setting the sip.conf timert1 value to a value higher than 1245 can cause
an integer overflow and result in large retransmit timeout times.  These
large timeout times hold system file descriptors hostage and can cause the
system to run out of file descriptors.

NOTE: The default sip.conf timert1 value is 500 which does not expose the
vulnerability.

* The overflow is now detected and the previous timeout time is
calculated.

ASTERISK-25397 #close
Reported by: Alexander Traud

Change-Id: Ia7231f2f415af1cbf90b923e001b9219cff46290
channels/chan_sip.c