[Home]

Summary:ASTERISK-11061: [patch] prevent a segfault when loading
Reporter:Clod Patry (junky)Labels:
Date Opened:2007-12-16 21:08:12.000-0600Date Closed:2007-12-17 07:37:01.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_unistim
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) unistim_tz.diff
Description:When loading this new driver.
Since ast_localtime() isn't sure to set an ast_tm.tm_zone, this was crashing this box.
This prevent this segfault.
Comments:By: Digium Subversion (svnbot) 2007-12-17 07:36:48.000-0600

Repository: asterisk
Revision: 93188

U   trunk/channels/chan_unistim.c

------------------------------------------------------------------------
r93188 | file | 2007-12-17 07:36:45 -0600 (Mon, 17 Dec 2007) | 4 lines

If no timezone is available use the default message.
(closes issue ASTERISK-11061)
Reported by: junky

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=93188