mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
Merge git://git.infradead.org/battery-2.6
* git://git.infradead.org/battery-2.6: [PATCH] missing null termination in power supply uevent
This commit is contained in:
commit
562b4b632c
1 changed files with 1 additions and 0 deletions
|
@ -289,6 +289,7 @@ int power_supply_uevent(struct device *dev, char **envp, int num_envp,
|
||||||
if (ret)
|
if (ret)
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
envp[i] = NULL;
|
||||||
|
|
||||||
out:
|
out:
|
||||||
free_page((unsigned long)prop_buf);
|
free_page((unsigned long)prop_buf);
|
||||||
|
|
Loading…
Add table
Reference in a new issue