FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.18k stars 1.23k forks source link

EIGRP memory leak in eigrp_topo1 #15114

Closed donaldsharp closed 1 month ago

donaldsharp commented 7 months ago
=================================================================
==2345535==ERROR: LeakSanitizer: detected memory leaks

Indirect leak of 112 byte(s) in 1 object(s) allocated from:
    #0 0x7f282c8b4a57 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154
    #1 0x7f282c3efd7a in qcalloc lib/memory.c:116
    #2 0x7f282c49fd43 in route_node_create lib/table.c:496
    #3 0x7f282c49d4bc in route_node_new lib/table.c:67
    #4 0x7f282c49d4de in route_node_set lib/table.c:76
    #5 0x7f282c49f281 in route_node_get lib/table.c:334
    #6 0x557e17b5d5be in eigrp_network_set eigrpd/eigrp_network.c:214
    #7 0x557e17b60354 in eigrpd_instance_network_create eigrpd/eigrp_northbound.c:638
    #8 0x7f282c40c24f in nb_callback_create lib/northbound.c:1035
    #9 0x7f282c40e97e in nb_callback_configuration lib/northbound.c:1349
    #10 0x7f282c40f23a in nb_transaction_process lib/northbound.c:1474
    #11 0x7f282c40b4ba in nb_candidate_commit_apply lib/northbound.c:907
    #12 0x7f282c40b722 in nb_candidate_commit lib/northbound.c:939
    #13 0x7f282c41db45 in nb_cli_classic_commit lib/northbound_cli.c:64
    #14 0x7f282c41efc4 in nb_cli_apply_changes_internal lib/northbound_cli.c:250
    #15 0x7f282c41f297 in nb_cli_apply_changes lib/northbound_cli.c:268
    #16 0x557e17b4b3f7 in eigrp_network_magic eigrpd/eigrp_cli.c:379
    #17 0x557e17b43291 in eigrp_network eigrpd/eigrp_cli_clippy.c:796
    #18 0x7f282c342c88 in cmd_execute_command_real lib/command.c:951
    #19 0x7f282c34327f in cmd_execute_command_strict lib/command.c:1061
    #20 0x7f282c343e22 in command_config_read_one_line lib/command.c:1221
    #21 0x7f282c3440e5 in config_from_file lib/command.c:1266
    #22 0x7f282c4cf897 in vty_read_file lib/vty.c:2303
    #23 0x7f282c4d08e4 in vty_read_config lib/vty.c:2523
    #24 0x7f282c3c86cb in frr_config_read_in lib/libfrr.c:947
    #25 0x7f282c4b5fc7 in thread_call lib/thread.c:1919
    #26 0x7f282c3c9c66 in frr_run lib/libfrr.c:1164
    #27 0x557e17b3d156 in main eigrpd/eigrp_main.c:231
    #28 0x7f282be29d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58

I went back to 8.1 and see this issue still. Didn't look any older.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 180 days with no activity. Comment or remove the autoclose label in order to avoid having this issue closed.

frrbot[bot] commented 1 month ago

This issue will be automatically closed in the specified period unless there is further activity.