DragonFlyBSD Kernel Audit
DF-1063 / fix.diff
← back to finding ↓ download raw
diff --git a/bus/u4b/serial/uslcom.c b/bus/u4b/serial/uslcom.c
--- a/bus/u4b/serial/uslcom.c
+++ b/bus/u4b/serial/uslcom.c
@@ -619,7 +619,7 @@
 	struct uslcom_softc *sc = ucom->sc_parent;
 	struct usb_device_request req;
 	int error = 0;
-	uint8_t latch;
+	uint8_t latch = 0;
 
 	DPRINTF("cmd=0x%08x\n", cmd);