diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-02-17 22:54:06 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-02-17 22:54:06 +0100 |
commit | 30c734fc73648e4c43af4f45e68ac2de3d7ddea1 (patch) | |
tree | c58dcf00d56bce01ec7c018fe5035fa06d3a6cab /nest/bird.h | |
parent | da65a3d898fde0ce567782d86919a66e29916ed7 (diff) |
Static: Fix bug in static route filter expressions
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.
Diffstat (limited to 'nest/bird.h')
0 files changed, 0 insertions, 0 deletions