> > #define IRTTY_IOCGET _IOR(IRTTY_IOC_MAGIC, 2, struct irtty_info) > > Not that dangerous since the data is only copied out of the kernel, and > into a larger buffer (20 bytes instead of 6). It is not a matter of danger! The size of the buffer is encoded in the ioctl, and therefore the IRTTY_IOCGET ioctl was not being invoked (the call was returning invalid argument). /ji _______________________________________________ Linux-IrDA mailing list - [EMAIL PROTECTED] http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda
