Commit:     b5dd674b2a1de5925955a088b0a10f81484e975a
Parent:     c9d8fe13175140c79982f9d29c6921328f9afad6
Author:     Patrick McHardy <[EMAIL PROTECTED]>
AuthorDate: Mon Dec 17 21:52:35 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 14:58:40 2008 -0800

    [NETFILTER]: ip6_tables: fix stack leagage
    Fix leakage of local variable on stack. This already got fixed in
    ip_tables silently by the compat patches.
    Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/ipv6/netfilter/ip6_tables.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c
index 40893fc..fc4c62f 100644
--- a/net/ipv6/netfilter/ip6_tables.c
+++ b/net/ipv6/netfilter/ip6_tables.c
@@ -1154,7 +1154,7 @@ static int get_info(void __user *user, int *len, int 
                info.num_entries = private->number;
                info.size = private->size;
-               memcpy(, name, sizeof(;
+               strcpy(, name);
                if (copy_to_user(user, &info, *len) != 0)
                        ret = -EFAULT;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to