mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 19:45:06 +08: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
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user