Re: x25-selective-sub-address-matching-with.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 31 May 2005 13:32, [email protected] wrote:
> x25: selective sub-address matching with call user data

> --- 25/net/x25/af_x25.c~x25-selective-sub-address-matching-with
> +++ 25-akpm/net/x25/af_x25.c

> @@ -1325,6 +1331,23 @@ static int x25_ioctl(struct socket *sock

> +		case SIOCX25SCUDMATCHLEN: {
> +			struct x25_subaddr sub_addr;

> +			if (copy_from_user(&sub_addr, argp,
> +					sizeof(&sub_addr)))
					      ^^^

You want sizeof(sub_addr) here. If other people won't NAKYAIOCTL.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux