⬢ DragonFlyBSD Kernel Audit
DF-4339 / fix.diff
← back to finding ↓ download raw
--- a/sys/dev/drm/radeon/atom.c
+++ b/sys/dev/drm/radeon/atom.c
@@ -1273,7 +1273,7 @@
 	struct atom_context *ctx =
 	    kzalloc(sizeof(struct atom_context), GFP_KERNEL);
 	char *str;
-	char name[512];
+	char name[512] = { 0 };
 	int i;
 
 	if (!ctx)