[asterisk-dev] [svn-commits] rizzo: trunk r93603 - in /trunk: channels/ include/asterisk/ main/ res/ utils/

Michiel van Baak michiel at vanbaak.info
Wed Dec 19 15:36:34 CST 2007


On 14:26, Wed 19 Dec 07, Jason Parker wrote:
> SVN commits to the Digium repositories wrote:
> > Author: rizzo
> > Date: Tue Dec 18 04:24:58 2007
> > New Revision: 93603
> > 
> > URL: http://svn.digium.com/view/asterisk?view=rev&rev=93603
> > Log:
> > make configuration variable const so they are not accidentally
> > modified.
> > This requires casting the strings in asterisk.c when writing to
> > them, so we do it through a macro to do it consistently.
> > 
> > 
> > Modified:
> >     trunk/channels/chan_sip.c
> >     trunk/include/asterisk/paths.h
> >     trunk/main/asterisk.c
> >     trunk/res/res_crypto.c
> >     trunk/res/res_monitor.c
> >     trunk/utils/ael_main.c
> >     trunk/utils/conf2ael.c
> >     trunk/utils/extconf.c
> > 
> 
> This _SETVAR macro may not be working quite as you had intended.  If you set
> autosystemname=yes in asterisk.conf, you'll get a segfault in main(), in the
> ast_copy_string() call.  I think the reason for this is that
> ast_config_AST_SYSTEM_NAME is being set to "" initially, and then set again later.
> 

I run into the same segfault on OBSD 4.2
-- 

Michiel van Baak
michiel at vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer afficionados are both called users?"




More information about the asterisk-dev mailing list