diff options
| author | Guido Falsi <madpilot@FreeBSD.org> | 2016-09-12 19:35:05 +0000 |
|---|---|---|
| committer | Guido Falsi <madpilot@FreeBSD.org> | 2016-09-12 19:35:05 +0000 |
| commit | 0fcca041a5c5efad690c439600761c602b39f5a1 (patch) | |
| tree | 61a0c2ce8437b085fd4904d7f3a4f62253eec36f /net/asterisk/files/patch-AST-2016-002 | |
| parent | Remove dependencies on net/asterisk. (diff) | |
Remove net/astersisk, Asterisk 1.8 reached EOL on 2015-10-21.
Please use net/asterisk11 or net/asterisk13 containing newer,
supported versions.
Diffstat (limited to 'net/asterisk/files/patch-AST-2016-002')
| -rw-r--r-- | net/asterisk/files/patch-AST-2016-002 | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/net/asterisk/files/patch-AST-2016-002 b/net/asterisk/files/patch-AST-2016-002 deleted file mode 100644 index 75ca85aeacf8..000000000000 --- a/net/asterisk/files/patch-AST-2016-002 +++ /dev/null @@ -1,18 +0,0 @@ -diff --git a/channels/chan_sip.c b/channels/chan_sip.c -index 5de304a..277eec7 100644 ---- channels/chan_sip.c -+++ channels/chan_sip.c -@@ -3771,6 +3771,13 @@ static int retrans_pkt(const void *data) - } - - /* For non-invites, a maximum of 4 secs */ -+ if (INT_MAX / pkt->timer_a < pkt->timer_t1) { -+ /* -+ * Uh Oh, we will have an integer overflow. -+ * Recalculate previous timeout time instead. -+ */ -+ pkt->timer_a = pkt->timer_a / 2; -+ } - siptimer_a = pkt->timer_t1 * pkt->timer_a; /* Double each time */ - if (pkt->method != SIP_INVITE && siptimer_a > 4000) { - siptimer_a = 4000; |
