Build #1

FreeRangeRouting Protocol Suite

Build: #1 was successful

Job: Static Analyzer (Clang) was successful

Job result summary

Completed
Duration
19 minutes

Error summary

The build generated some errors. See the full build log for more details.

Makefile:2289: WARNING: you have overwritten the "CC" variable on the make command line.
Makefile:2308: ------
Makefile:2309: While overwriting these variables works most of the time, it is not recommended and can cause confusing build errors.
Makefile:2310: This is especially problematic when cross-compiling, since tools that run on the build system during the build process will not be compiled correctly.
Makefile:2311: All of these variables should be supplied to 'configure', and they will be remembered and correctly applied during 'make'.
Makefile:2312: ------
Makefile:2289: WARNING: you have overwritten the "CC" variable on the make command line.
Makefile:2308: ------
Makefile:2309: While overwriting these variables works most of the time, it is not recommended and can cause confusing build errors.
Makefile:2310: This is especially problematic when cross-compiling, since tools that run on the build system during the build process will not be compiled correctly.
Makefile:2311: All of these variables should be supplied to 'configure', and they will be remembered and correctly applied during 'make'.
Makefile:2312: ------
bgpd/bgp_mpath.c:128:27: warning: Access to field 'attr' results in a dereference of a null pointer (loaded from variable 'bpi1')
        compare = IPV4_ADDR_CMP(&bpi1->attr->nexthop, &bpi2->attr->nexthop);
                                 ^~~~~~~~~~
./lib/prefix.h:337:39: note: expanded from macro 'IPV4_ADDR_CMP'
#define IPV4_ADDR_CMP(D,S)   memcmp ((D), (S), IPV4_MAX_BYTELEN)
                                      ^
bgpd/bgp_mpath.c:297:7: warning: Access to field 'mpath' results in a dereference of a null pointer (loaded from variable 'path')
        if (!path->mpath) {
             ^~~~~~~~~~~
2 warnings generated.
lib/yang.c:621:1: note: #pragma message: lib/yang: time to remove non-LIBYANG_EXT_BUILTIN support
CPP_NOTICE("lib/yang: time to remove non-LIBYANG_EXT_BUILTIN support")
^
bgpd/rfapi/rfapi_import.c:1214:6: warning: Branch condition evaluates to a garbage value
        if (!pfx_un1.family || !pfx_un2.family)
            ^~~~~~~~~~~~~~~
1 warning generated.
bgpd/rfapi/rfapi.c:2951:2: warning: 5th function call argument is an uninitialized value
        vty_out(vty, "rfapi_open: status %d, handle %p, lifetime %d\n", rc,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
ripngd/ripng_interface.c:187:30: warning: Access to field 'sock' results in a dereference of a null pointer (loaded from variable 'ripng')
                ripng_multicast_leave(ifp, ripng->sock);
                                           ^~~~~~~~~~~
1 warning generated.
ospfd/ospf_spf.c:934:29: warning: Dereference of null pointer
                        distance = v->distance + ntohs(l->m[0].metric);
                                                 ^~~~~~~~~~~~~~~~~~~~~
/usr/include/netinet/in.h:403:21: note: expanded from macro 'ntohs'
#   define ntohs(x)     __bswap_16 (x)
                        ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/byteswap-16.h:27:61: note: expanded from macro '__bswap_16'
      ({ unsigned short int __v, __x = (unsigned short int) (x);              \
                                                            ^~~
1 warning generated.
ldpd/packet.c:627:10: warning: Potential leak of memory pointed to by 'buf'
        return (0);
                ^
1 warning generated.
babeld/message.c:857:5: warning: Null pointer passed as an argument to a 'nonnull' parameter
    memcpy(babel_ifp->sendbuf + babel_ifp->buffered, value, len);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
pimd/pim_rp.c:742:30: warning: Dereference of null pointer
                rp_all->rp.rpf_addr.family = AF_INET;
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
1 warning generated.
bfdd/bfd_packet.c:438:6: warning: The left operand of '&' is a garbage value
        if (IN6_IS_ADDR_LINKLOCAL(&local->sa_sin6.sin6_addr))
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/netinet/in.h:430:26: note: expanded from macro 'IN6_IS_ADDR_LINKLOCAL'
      (__a->s6_addr32[0] & htonl (0xffc00000)) == htonl (0xfe800000); }))
       ~~~~~~~~~~~~~~~~~ ^
1 warning generated.
In file included from nhrpd/nhrp_peer.c:21:
nhrpd/nhrpd.h:78:2: warning: Dereference of null pointer
        list_for_each_entry_safe(n, nn, &l->notifier_head, notifier_entry)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nhrpd/list.h:202:10: note: expanded from macro 'list_for_each_entry_safe'
            n = list_entry(pos->member.next, typeof(*pos), member);            \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nhrpd/list.h:186:39: note: expanded from macro 'list_entry'
#define list_entry(ptr, type, member) container_of(ptr,type,member)
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lib/compiler.h:162:50: note: expanded from macro 'container_of'
                        typeof(((type *)0)->member) *__mptr = (void *)(ptr);   \
                                                                      ^~~~~
1 warning generated.
nhrpd/vici.c:213:11: warning: Array access (via field 'ptr') results in a null pointer dereference
                switch (key->ptr[0]) {
                        ^~~~~~~~~~~
1 warning generated.