[Home]

Summary:ASTERISK-17056: [patch] Using static extensions.conf with res_config_curl segfaults on startup
Reporter:jmls (jmls)Labels:
Date Opened:2010-12-02 16:22:13.000-0600Date Closed:2011-05-07 18:36:43
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Resources/res_config_curl
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20101202__issue18413.diff.txt
( 1) btfull.txt
Description:Trying to use extensions.conf as a static realtime with res_config_curl segfaults until the entry in ExtConfig.conf is removed

****** ADDITIONAL INFORMATION ******

steps to reproduce:

#1 setup local http server, copy sample extensions.conf to html/dialplan/static

#2 setup extconfig.conf

extensions.conf => curl,http://localhost/dialplan

start asterisk :)
Comments:By: jmls (jmls) 2010-12-02 16:23:22.000-0600

BT Full attached

By: jmls (jmls) 2010-12-03 03:01:05.000-0600

patch seems to work for me. Thanks

By: Digium Subversion (svnbot) 2011-05-07 18:35:40

Repository: asterisk
Revision: 318057

U   branches/1.8/res/res_config_curl.c

------------------------------------------------------------------------
r318057 | russell | 2011-05-07 18:35:39 -0500 (Sat, 07 May 2011) | 8 lines

res_config_curl: fix a crash with static realtime.

(closes issue ASTERISK-17056)
Reported by: jmls
Patches:
     20101202__issue18413.diff.txt uploaded by tilghman (license 14)
Tested by: jmls

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

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

By: Digium Subversion (svnbot) 2011-05-07 18:36:43

Repository: asterisk
Revision: 318058

_U  trunk/
U   trunk/res/res_config_curl.c

------------------------------------------------------------------------
r318058 | russell | 2011-05-07 18:36:43 -0500 (Sat, 07 May 2011) | 15 lines

Merged revisions 318057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
 r318057 | russell | 2011-05-07 18:35:37 -0500 (Sat, 07 May 2011) | 8 lines
 
 res_config_curl: fix a crash with static realtime.
 
 (closes issue ASTERISK-17056)
 Reported by: jmls
 Patches:
       20101202__issue18413.diff.txt uploaded by tilghman (license 14)
 Tested by: jmls
........

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

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