diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-06-08 17:01:56 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-06-08 17:03:31 +0300 |
| commit | 08df5b3b44b49366d3ce0976c9215fcd78d0cec1 (patch) | |
| tree | 0e2893e8353ce047af1d717488e18b327af27bc9 /pathd/path_errors.c | |
| parent | 455d14ae317c461febc02d3731bf8691c2f2ee5f (diff) | |
ospfd: fix memory leaks in summarization
To reproduce the issue:
1. Create summary-address: `summary-address 1.1.1.0/24`.
2. Try to delete it with the wrong tag: `no summary-address 1.1.1.0/24 tag 1`.
Each time this command is executed, route_node_lookup is called which
locks route node one more time. As the tag is wrong, the function
return immediately without unlock.
3. Finally delete the summary-address: `no summary-address 1.1.1.0/24`.
The route node won't be deleted.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'pathd/path_errors.c')
0 files changed, 0 insertions, 0 deletions
