Build #2,097

FreeRangeRouting Protocol Suite

Build: #2097 was successful

Job: Static Analyzer (Clang) was successful

Job result summary

Completed
Duration
18 minutes
Successful since
#1918 ()

Error summary

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

Makefile:2248: WARNING: you have overwritten the "CC" variable on the make command line.
Makefile:2267: ------
Makefile:2268: While overwriting these variables works most of the time, it is not recommended and can cause confusing build errors.
Makefile:2269: 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:2270: All of these variables should be supplied to 'configure', and they will be remembered and correctly applied during 'make'.
Makefile:2271: ------
Makefile:2248: WARNING: you have overwritten the "CC" variable on the make command line.
Makefile:2267: ------
Makefile:2268: While overwriting these variables works most of the time, it is not recommended and can cause confusing build errors.
Makefile:2269: 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:2270: All of these variables should be supplied to 'configure', and they will be remembered and correctly applied during 'make'.
Makefile:2271: ------
lib/yang.c:664: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/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:328: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.
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_lsa.c:3650:21: warning: Access to field 'refresh_list' results in a dereference of a null pointer (loaded from variable 'lsa')
                lsa->refresh_list = -1;
                ~~~               ^
1 warning generated.
ospfd/ospf_spf.c:919: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_zebra.c: In function ‘igmp_source_forward_start’:
pimd/pim_zebra.c:931:17: warning: variable ‘nht_p’ set but not used [-Wunused-but-set-variable]
   struct prefix nht_p, src, grp;
                 ^
pimd/pim_zebra.c: In function ‘pim_forward_start’:
pimd/pim_zebra.c:1186:17: warning: variable ‘nht_p’ set but not used [-Wunused-but-set-variable]
   struct prefix nht_p, src, grp;
                 ^
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/zebra.h:370:47: note: expanded from macro 'container_of'
                const typeof(((type *)0)->member) *__mptr = (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.