|Summary:||ASTERISK-07234: [patch] segfault due to not checking structure existance|
|Reporter:||Curt Moore (jcmoore)||Labels:|
|Date Opened:||2006-06-26 12:39:45||Date Closed:||2006-06-26 14:08:04|
|Environment:||Attachments:||( 0) chan_sip_bt.txt|
( 1) chan_sip.patch.txt
|Description:||chan_sip causes Asterisk to segfault due to not checking if a struct has been initialized before trying to access a member of the struct. Attached backtrace demonstrates this segfault. Attached patch checks for the existence of the struct current.chan2 before trying to access its member elements.|
****** ADDITIONAL INFORMATION ******
Bug happened in 35746. Patched against 36078.
|Comments:||By: Serge Vecher (serge-v) 2006-06-26 12:43:39|
hmmm, I guess this is transfer-related ... Nice catch, thanks for the patch.
By: Olle Johansson (oej) 2006-06-26 14:05:32
Thanks for finding this!!!!
Fixed in a similar, but different way.
By: Olle Johansson (oej) 2006-06-26 14:07:49
Committed to svn trunk #36128