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

Commit 562b4b63 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
* git://git.infradead.org/battery-2.6:
  [PATCH] missing null termination in power supply uevent
parents b7e113dc ed2ba977
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -289,6 +289,7 @@ int power_supply_uevent(struct device *dev, char **envp, int num_envp,
		if (ret)
			goto out;
	}
	envp[i] = NULL;

out:
	free_page((unsigned long)prop_buf);