The patch titled missing null termination in power supply uevent has been added to the -mm tree. Its filename is missing-null-termination-in-power-supply-uevent.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: missing null termination in power supply uevent From: Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> Need to null terminate environment. Found by inspection while looking for similar problems to platform uevent bug Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/power/power_supply_sysfs.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/power/power_supply_sysfs.c~missing-null-termination-in-power-supply-uevent drivers/power/power_supply_sysfs.c --- a/drivers/power/power_supply_sysfs.c~missing-null-termination-in-power-supply-uevent +++ a/drivers/power/power_supply_sysfs.c @@ -283,6 +283,7 @@ int power_supply_uevent(struct device *d if (ret) goto out; } + envp[i] = NULL; out: free_page((unsigned long)prop_buf); _ Patches currently in -mm which might be from shemminger@xxxxxxxxxxxxxxxxxxxx are origin.patch fix-oops-in-platform-uevent.patch git-infiniband.patch git-input.patch git-net.patch pci-x-pci-express-read-control-interfaces-e1000.patch export-reciprocal_value-for-modules.patch sky2-avoid-divide-in-receive-path.patch skge-remove-broken-and-unused-phy_m_pc_mdi_xmode-macro.patch missing-null-termination-in-power-supply-uevent.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html