⬢ DragonFlyBSD Kernel Audit
DF-4664 / fix.diff
← back to finding ↓ download raw
--- a/sys/dev/drm/amd/display/dc/core/dc_link_ddc.c
+++ b/sys/dev/drm/amd/display/dc/core/dc_link_ddc.c
@@ -433,7 +433,7 @@
 	uint8_t i;
 	bool is_valid_hdmi_signature;
 	enum display_dongle_type *dongle = &sink_cap->dongle_type;
-	uint8_t type2_dongle_buf[DP_ADAPTOR_TYPE2_SIZE];
+	uint8_t type2_dongle_buf[DP_ADAPTOR_TYPE2_SIZE] = {0};
 	bool is_type2_dongle = false;
 	struct dp_hdmi_dongle_signature_data *dongle_signature;