The patch titled
     missing null termination in one wire uevent
has been added to the -mm tree.  Its filename is
     missing-null-termination-in-one-wire-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 one wire uevent
From: Stephen Hemminger <[EMAIL PROTECTED]>

Need to null terminate environment.  Found by inspection while looking for
similar problems to platform uevent bug

Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
Cc: Greg Kroah-Hartman <[EMAIL PROTECTED]>
Cc: Evgeniy Polyakov <[EMAIL PROTECTED]>
Cc: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/w1/w1.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/w1/w1.c~missing-null-termination-in-one-wire-uevent 
drivers/w1/w1.c
--- a/drivers/w1/w1.c~missing-null-termination-in-one-wire-uevent
+++ a/drivers/w1/w1.c
@@ -431,6 +431,7 @@ static int w1_uevent(struct device *dev,
        err = add_uevent_var(envp, num_envp, &cur_index, buffer, buffer_size,
                        &cur_len, "W1_SLAVE_ID=%024LX",
                        (unsigned long long)sl->reg_num.id);
+       envp[cur_index] = NULL;
        if (err)
                return err;
 
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

origin.patch
missing-null-termination-in-one-wire-uevent.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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to