DragonFlyBSD Kernel Audit
DF-1532 / fix.diff
← back to finding ↓ download raw
--- a/sys/dev/raid/twa/tw_cl_io.c
+++ b/sys/dev/raid/twa/tw_cl_io.c
@@ -654,6 +654,7 @@
 	case TW_CL_IOCTL_GET_COMPATIBILITY_INFO:
 	{
 		struct tw_cl_compatibility_packet	comp_pkt;
+		bzero(&comp_pkt, sizeof(comp_pkt));
 
 		tw_cli_dbg_printf(3, ctlr_handle, tw_osl_cur_func(),
 			"Get compatibility info");