Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b29acd8d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mm: cma: fix stack corruption due to sprintf usage"

parents 452f6752 dc7e74b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -167,7 +167,7 @@ static void cma_debugfs_add_one(struct cma *cma, int idx)
	char name[16];
	int u32s;

	sprintf(name, "cma-%s", cma->name);
	scnprintf(name, sizeof(name), "cma-%s", cma->name);

	tmp = debugfs_create_dir(name, cma_debugfs_root);