frr/isisd
Louis Scalbert 25c813ac38 isisd: fix srv6_sid memory leak
Seen with isis_srv6_topo1 topotest.

> ==178793==ERROR: LeakSanitizer: detected memory leaks
>
> Direct leak of 56 byte(s) in 1 object(s) allocated from:
>     #0 0x7f3f63cb4a57 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154
>     #1 0x7f3f6366f8dd in qcalloc lib/memory.c:105
>     #2 0x561b810c62b7 in isis_srv6_sid_alloc isisd/isis_srv6.c:243
>     #3 0x561b8111f944 in isis_zebra_srv6_sid_notify isisd/isis_zebra.c:1534
>     #4 0x7f3f637df9d7 in zclient_read lib/zclient.c:4845
>     #5 0x7f3f637779b2 in event_call lib/event.c:2011
>     #6 0x7f3f63642ff1 in frr_run lib/libfrr.c:1216
>     #7 0x561b81018bf2 in main isisd/isis_main.c:360
>     #8 0x7f3f63029d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58

Fixes: 0af0f4616d ("isisd: Receive SRv6 SIDs notifications from zebra")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2025-04-16 11:28:01 +02:00
..
.gitignore
AUTHORS
fabricd.c isisd: update struct isis_spftree with algorithm id 2023-04-17 11:06:08 +02:00
fabricd.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_adjacency.c isisd: clean up -Wshadow warnings 2025-04-08 14:41:26 -04:00
isis_adjacency.h isisd: fix memory handling in isis_adj_process_threeway() 2024-08-09 10:08:21 -04:00
isis_affinitymap.c isisd: Tie isis into cleaning up affinity maps 2025-03-30 17:54:34 -04:00
isis_affinitymap.h isisd: Tie isis into cleaning up affinity maps 2025-03-30 17:54:34 -04:00
isis_bfd.c isisd: clean up -Wshadow warnings 2025-04-08 14:41:26 -04:00
isis_bfd.h *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
isis_bpf.c *: zebra.h should not have fcntl.h 2024-01-09 12:50:40 -05:00
isis_circuit.c isisd:IS-IS hello packets not sent with configured hello timer 2025-03-05 20:08:14 +08:00
isis_circuit.h isisd:IS-IS hello packets not sent with configured hello timer 2025-03-05 20:08:14 +08:00
isis_cli.c isisd: add YANG attr to YANG cmd 2025-04-08 15:24:41 +02:00
isis_common.h isisd: Update to the new printfrr ISO format 2023-03-21 15:21:47 +01:00
isis_constants.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_csm.c *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
isis_csm.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_dlpi.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_dr.c *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
isis_dr.h *: Rename struct thread to struct event 2023-03-24 08:32:17 -04:00
isis_dynhn.c Merge pull request #12698 from Orange-OpenSource/isisd 2023-04-11 09:49:01 -04:00
isis_dynhn.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_errors.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_errors.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_events.c isisd: Do not leak a linked list in the circuit 2025-02-05 20:15:01 -05:00
isis_events.h *: Rename struct thread to struct event 2023-03-24 08:32:17 -04:00
isis_flags.c lib,ripd: clean up -Wshadow compiler warnings 2025-04-08 14:41:27 -04:00
isis_flags.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_flex_algo.c Revert "lib: add a frr_each_const macro" 2023-09-07 12:08:50 +02:00
isis_flex_algo.h isisd: calculate flex-algo constraint spf 2023-04-18 11:33:15 +02:00
isis_ldp_sync.c isisd: clean up -Wshadow warnings 2025-04-08 14:41:26 -04:00
isis_ldp_sync.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_lfa.c isisd: Fix the PQ space computation error in TI-LFA 2024-09-27 16:12:45 +08:00
isis_lfa.h isisd: Cleanup leaked hash on shut in circuit 2024-08-08 14:24:59 -04:00
isis_lsp.c isisd: clean up -Wshadow warnings 2025-04-08 14:41:26 -04:00
isis_lsp.h isis, lib: add isis srv6 end sid to ls_prefix 2024-07-11 09:14:34 +02:00
isis_main.c isisd: Tie isis into cleaning up affinity maps 2025-03-30 17:54:34 -04:00
isis_misc.c isisd: Even after configuring "no hostname dynamic", the topology still displays the hostname. 2024-06-19 15:44:51 +08:00
isis_misc.h isisd: Update to the new printfrr ISO format 2023-03-21 15:21:47 +01:00
isis_mt.c isisd: in isis_mt.c use appropriate memory allocator 2024-09-01 13:07:39 -04:00
isis_mt.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_nb.c isisd: Remove unneeded modify functions 2025-02-05 20:46:25 -05:00
isis_nb.h isisd: fix srv6 exit statements 2024-12-25 00:46:17 +00:00
isis_nb_config.c isisd: Remove unneeded modify functions 2025-02-05 20:46:25 -05:00
isis_nb_notifications.c isisd: Update to the new printfrr ISO format 2023-03-21 15:21:47 +01:00
isis_nb_state.c tests: fix isis_lsp_bits_topo1 race condition 2024-09-12 09:20:41 +02:00
isis_network.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_pdu.c isisd: When the ISIS types of the routers do not match on a P2P link, the neighbor status remains UP 2024-11-09 15:45:47 +08:00
isis_pdu.h isisd: Add log-pdu-drops log functionality 2023-04-04 09:23:21 -07:00
isis_pdu_counter.c isisd: Add log-pdu-drops log functionality 2023-04-04 09:23:21 -07:00
isis_pdu_counter.h isisd: Add log-pdu-drops log functionality 2023-04-04 09:23:21 -07:00
isis_pfpacket.c isisd: vlan-subif isis neighbor 2024-08-01 09:09:35 +08:00
isis_redist.c isisd: Fix the issue where redistributed routes do not change when the route-map is modified. 2025-03-12 09:19:19 -04:00
isis_redist.h isisd: Fix the issue where redistributed routes do not change when the route-map is modified. 2025-03-12 09:19:19 -04:00
isis_route.c isisd: clean up -Wshadow warnings 2025-04-08 14:41:26 -04:00
isis_route.h isisd: add include file 2024-10-28 14:54:06 -04:00
isis_routemap.c isisd: Fix the issue where redistributed routes do not change when the route-map is modified. 2025-03-12 09:19:19 -04:00
isis_routemap.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_snmp.c isisd: clean up -Wshadow warnings 2025-04-08 14:41:26 -04:00
isis_spf.c isisd: clean up -Wshadow warnings 2025-04-08 14:41:26 -04:00
isis_spf.h isisd: add json support to display spf paths in 'show isis route' 2024-06-21 15:40:23 +02:00
isis_spf_private.h isisd: calculate flex-algo constraint spf 2023-04-18 11:33:15 +02:00
isis_sr.c isisd: clean up -Wshadow warnings 2025-04-08 14:41:26 -04:00
isis_sr.h isisd: fix mispelling with ISIS_SR_LAN_BACKUP 2024-04-04 15:10:47 +02:00
isis_srv6.c isisd: Add helper function to request SRv6 locator information 2025-02-15 10:39:30 +01:00
isis_srv6.h isisd: Add helper function to request SRv6 locator information 2025-02-15 10:39:30 +01:00
isis_te.c isisd: clean up -Wshadow warnings 2025-04-08 14:41:26 -04:00
isis_te.h Merge pull request #15797 from pguibert6WIND/isis_srv6_ls_subnet 2024-07-26 14:45:01 -04:00
isis_tlvs.c isisd: fix asla memory leak 2025-04-11 09:57:18 +02:00
isis_tlvs.h isisd: fix duplicate rfc8919 defines 2025-01-24 13:58:38 +01:00
isis_tx_queue.c Merge pull request #12698 from Orange-OpenSource/isisd 2023-04-11 09:49:01 -04:00
isis_tx_queue.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_vty_fabricd.c isisd:IS-IS hello packets not sent with configured hello timer 2025-03-05 20:08:14 +08:00
isis_zebra.c isisd: fix srv6_sid memory leak 2025-04-16 11:28:01 +02:00
isis_zebra.h isisd: clean up -Wshadow warnings 2025-04-08 14:41:26 -04:00
isisd.c isisd: clean up -Wshadow warnings 2025-04-08 14:41:26 -04:00
isisd.h Merge pull request #18369 from huchaogithup/master-dev-pr1 2025-03-25 10:18:13 -04:00
iso_checksum.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
iso_checksum.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
Makefile
README
subdir.am isisd: staticd: need to link directly against libyang 2023-10-26 22:53:44 -04:00

Constraints

  o Maximum number of interfaces 255