• 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
..
Doc Loading commit data...
Makefile Loading commit data...
a-path.c Loading commit data...
a-set.c Loading commit data...
attrs.h Loading commit data...
bfd.h Loading commit data...
bird.h Loading commit data...
cli.c Loading commit data...
cli.h Loading commit data...
cmds.c Loading commit data...
cmds.h Loading commit data...
config.Y Loading commit data...
iface.c Loading commit data...
iface.h Loading commit data...
locks.c Loading commit data...
locks.h Loading commit data...
mrtdump.h Loading commit data...
neighbor.c Loading commit data...
password.c Loading commit data...
password.h Loading commit data...
proto-hooks.c Loading commit data...
proto.c Loading commit data...
proto.sgml Loading commit data...
protocol.h Loading commit data...
route.h Loading commit data...
rt-attr.c Loading commit data...
rt-dev.c Loading commit data...
rt-dev.h Loading commit data...
rt-fib.c Loading commit data...
rt-roa.c Loading commit data...
rt-table.c Loading commit data...