x25-selective-sub-address-matching-with.patch added to -mm tree
A message that is not in the archive (sent off-list or not yet received): [email protected]
net/x25/af_x25.c static int x25_ioctl(struct socket *sock · line 1336
Quoted 12 lines · On Tuesday 31 May 2005 13:32, [email protected] wrote:
x25: selective sub-address matching with call user data
net/x25/af_x25.c renamed from net/x25/af_x25.c~x25-selective-sub-address-matching-with +4
-0@@ -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.