]> git.puffer.fish Git - matthieu/frr.git/commitdiff
more libdislocate & cli disabling
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 19 Nov 2019 16:49:55 +0000 (11:49 -0500)
committerQuentin Young <qlyoung@nvidia.com>
Mon, 15 Nov 2021 19:40:51 +0000 (14:40 -0500)
lib/memory.h
pimd/pim_instance.c

index b1523175a3e1195f7ab20fb3783e0ee6a2dca1bc..7cda7a679a911e2d5806a54a54addf4390b46574 100644 (file)
 extern "C" {
 #endif
 
+#ifdef FUZZING
 #undef HAVE_MALLOC_USABLE_SIZE
+#undef HAVE_MALLOC_SIZE
+#endif
 
 #if defined(HAVE_MALLOC_SIZE) && !defined(HAVE_MALLOC_USABLE_SIZE)
 #define malloc_usable_size(x) malloc_size(x)
index 5322c48f678b470315d50871cb6fd49912dff8ff..a30a434519ab1999f51c24e65a3aab7f9caec576 100644 (file)
@@ -231,7 +231,9 @@ void pim_vrf_init(void)
        vrf_init(pim_vrf_new, pim_vrf_enable, pim_vrf_disable,
                 pim_vrf_delete, NULL);
 
+#ifndef FUZZING
        vrf_cmd_init(pim_vrf_config_write);
+#endif
 }
 
 void pim_vrf_terminate(void)