• Ondřej Zajíček's avatar
    Conf: Fixes bug in symbol lookup during reconfiguration · 9b9a7143
    Ondřej Zajíček authored
    Symbol lookup by cf_find_symbol() not only did the lookup but also added
    new void symbols allocated from cfg_mem linpool, which gets broken when
    lookups are done outside of config parsing, which may lead to crashes
    during reconfiguration.
    
    The patch separates lookup-only cf_find_symbol() and config-modifying
    cf_get_symbol(), while the later is called only during parsing. Also
    new_config and cfg_mem global variables are NULLed outside of parsing.
    9b9a7143
Name
Last commit
Last update
client Loading commit data...
conf Loading commit data...
doc Loading commit data...
filter Loading commit data...
lib Loading commit data...
misc Loading commit data...
nest Loading commit data...
proto Loading commit data...
sysdep Loading commit data...
tools Loading commit data...
.cvsignore Loading commit data...
Doc Loading commit data...
INSTALL Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
aclocal.m4 Loading commit data...
bird.conf Loading commit data...
configure.in Loading commit data...