Coverity-updates archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

New Defects reported by Coverity Scan for NetBSD-i386-kernel



Hi,


Please find the latest report on new defect(s) introduced to NetBSD found with 
Coverity Scan.

Defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1164054:  Uninitialized scalar variable  (UNINIT)
/sys/netinet6/nd6.c: 826 in nd6_lookup1()


________________________________________________________________________________________________________
*** CID 1164054:  Uninitialized scalar variable  (UNINIT)
/sys/netinet6/nd6.c: 826 in nd6_lookup1()
820     
821     static struct rtentry *
822     nd6_lookup1(const struct in6_addr *addr6, int create, struct ifnet *ifp,
823         int cloning)
824     {
825             struct rtentry *rt;
>>>     CID 1164054:  Uninitialized scalar variable  (UNINIT)
>>>     Declaring variable "sin6" without initializer.
826             struct sockaddr_in6 sin6;
827     
828             sockaddr_in6_init(&sin6, addr6, 0, 0, 0);
829             rt = rtalloc1((struct sockaddr *)&sin6, create);
830             if (rt != NULL && (rt->rt_flags & RTF_LLINFO) == 0) {
831                     /*


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
http://scan.coverity.com/projects/156?tab=Overview

To unsubscribe from the email notification for new defects, 
http://scan5.coverity.com/cgi-bin/unsubscribe.py




Home | Main Index | Thread Index | Old Index