Skip to content

Commit

Permalink
Merge git://git.infradead.org/battery-2.6
Browse files Browse the repository at this point in the history
* git://git.infradead.org/battery-2.6:
  [PATCH] missing null termination in power supply uevent
  • Loading branch information
Linus Torvalds committed Sep 23, 2007
2 parents b7e113d + ed2ba97 commit 562b4b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/power/power_supply_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 562b4b6

Please sign in to comment.