[Home]

Summary:ASTERISK-19448: ConfBridge crashes Asterisk when no timing module loaded.
Reporter:feyfre (feyfre)Labels:
Date Opened:2012-02-29 09:32:04.000-0600Date Closed:2012-10-30 14:33:17
Priority:MajorRegression?Yes
Status:Closed/CompleteComponents:Applications/app_confbridge
Versions:10.2.0 Frequency of
Occurrence
Constant
Related
Issues:
duplicatesASTERISK-20627 ConfBridge() crashes if no timing module is loaded
Environment:Linux. Does not matter I think.Attachments:( 0) smfix.patch
Description:ConfBridge uses bridge_softmix, which tries to create timer(in softmix_bridge_create function). Fails(ast_timer_open() return NULL value) so bridge initializes self-destruction(with ao2_ref(softmix_data, -1)) which tries to close non-existing timer in softmix_bridge_data_destroy function(softmix_data->timer is NULL and ast_timer_close tries dereference NULL pointer so crash)
Comments:By: feyfre (feyfre) 2012-02-29 09:33:17.327-0600

Attached patch prevents crash.

By: Richard Mudgett (rmudgett) 2012-10-30 14:33:17.472-0500

Committed patch.