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-i386-kernel found with Coverity Scan.
1 new defect(s) introduced to NetBSD-i386-kernel found with Coverity Scan.
1 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1267860: Missing break in switch (MISSING_BREAK)
/sys/netinet6/ip6_output.c: 2147 in ip6_getpcbopt()
________________________________________________________________________________________________________
*** CID 1267860: Missing break in switch (MISSING_BREAK)
/sys/netinet6/ip6_output.c: 2147 in ip6_getpcbopt()
2141 case IPV6_PREFER_TEMPADDR:
2142 if (pktopt)
2143 optdata = (void *)&pktopt->ip6po_prefer_tempaddr;
2144 else
2145 optdata = (void *)&defpreftemp;
2146 optdatalen = sizeof(int);
>>> CID 1267860: Missing break in switch (MISSING_BREAK)
>>> The above case falls through to this one.
2147 default: /* should not happen */
2148 #ifdef DIAGNOSTIC
2149 panic("ip6_getpcbopt: unexpected option\n");
2150 #endif
2151 return (ENOPROTOOPT);
2152 }
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/1450?tab=overview
To manage Coverity Scan email notifications for "coverity-updates%netbsd.org@localhost", click https://scan.coverity.com/subscriptions/edit?email=coverity-updates%40netbsd.org&token=487286ca1a9a4f4bd485d16f66b5e782 .
Home |
Main Index |
Thread Index |
Old Index