Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409013 - net-libs/libsrtp - Asterisk crashes if phone uses SRTP and RTCP
Summary: net-libs/libsrtp - Asterisk crashes if phone uses SRTP and RTCP
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-03-20 14:07 UTC by Matthias Nagl
Modified: 2012-09-06 13:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch fixing libsrtp/asterisk crashes (rdb.patch,412 bytes, patch)
2012-03-20 14:08 UTC, Matthias Nagl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Nagl 2012-03-20 14:07:24 UTC
The bug is described here
https://issues.asterisk.org/jira/browse/ASTERISK-16665
and here
http://sourceforge.net/tracker/?func=detail&aid=3280295&group_id=38894&atid=423799

I will append a patch for libsrtp created from the sf bug report.

Reproducible: Always

Steps to Reproduce:
1. Enable SRTP and RTCP in Snom phone settings
2. Call from outside
3. Hang up Snom phone
Actual Results:  
Asterisk crashes

Expected Results:  
Asterisk should not crash
Comment 1 Matthias Nagl 2012-03-20 14:08:22 UTC
Created attachment 305981 [details, diff]
Patch fixing libsrtp/asterisk crashes

This patch comes from this upstream bug report:
http://sourceforge.net/tracker/?func=detail&aid=3280295&group_id=38894&atid=423799
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2012-09-06 13:37:03 UTC
+*libsrtp-1.4.4-r2 (06 Sep 2012)
+
+  06 Sep 2012; Tony Vroon <chainsaw@gentoo.org> +libsrtp-1.4.4-r2.ebuild,
+  +files/libsrtp-1.4.4-invalid-index.patch:
+  Make compilation & installation of static libraries optional, closes bug
+  #378763 by Agostino "ago" Sarubbo. Patch scavenged by Matthias Nagl from
+  upstream tracker resolves a crash caused by an invalid index, closes bug
+  #409013.