Messages in this thread Patch in this message | | | Date | Mon, 31 Jul 2000 17:12:39 -0700 | From | "David S. Miller" <> | Subject | Re: bug in register_ioctl32_conversion? |
| |
Thanks for spotting this, the following is the fix I've put into my 2.4.x sources:
--- ioctl32.c.~1~ Sun Jul 30 16:12:24 2000 +++ ioctl32.c Mon Jul 31 17:30:02 2000 @@ -3725,7 +3725,9 @@ int i; if (!additional_ioctls) { additional_ioctls = module_map(PAGE_SIZE); - if (!additional_ioctls) return -ENOMEM; + if (!additional_ioctls) + return -ENOMEM; + memset(additional_ioctls, 0, PAGE_SIZE); } for (i = 0; i < PAGE_SIZE/sizeof(struct ioctl_trans); i++) if (!additional_ioctls[i].cmd) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |