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 1338512:  Null pointer dereferences  (FORWARD_NULL)
/sys/dev/usb/uplcom.c: 538 in uplcom_pl2303x_init()


________________________________________________________________________________________________________
*** CID 1338512:  Null pointer dereferences  (FORWARD_NULL)
/sys/dev/usb/uplcom.c: 538 in uplcom_pl2303x_init()
532     		USETW(req.wValue, pl2303x[i].value);
533     		USETW(req.wIndex, pl2303x[i].index);
534     		if (UT_GET_DIR(req.bmRequestType) == UT_READ) {
535     			b = buf;
536     			USETW(req.wLength, sizeof(buf));
537     		} else {
>>>     CID 1338512:  Null pointer dereferences  (FORWARD_NULL)
>>>     Assigning: "b" = "NULL".
538     			b = NULL;
539     			USETW(req.wLength, 0);
540     		}
541     
542     		err = usbd_do_request(sc->sc_udev, &req, b);
543     		if (err) {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/netbsd-i386-kernel?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