• Ondřej Zajíček's avatar
    Static: Fix bug in static route filter expressions · 30c734fc
    Ondřej Zajíček authored
    During reconfiguration, old and new filter expressions in static routes
    are compared using i_same() function. When filter expressions contain
    function calls, it is necessary that old filter expressions are the
    second argument in i_same(), as it is internally modified by i_same().
    Otherwise pointers to old (and freed) data appear in the config
    structure.
    
    Thanks to Lennert Buytenhek for tracking and reporting the bug.
    30c734fc
Name
Last commit
Last update
..
Doc Loading commit data...
Makefile Loading commit data...
config.Y Loading commit data...
static.c Loading commit data...
static.h Loading commit data...