Just to point to a (minor) bug implementation...

The optlen parameter is both input and output. Getsockopts
should not copy out more than what the calling application
has requested. Until fixed, applications calling getsockopts
should just have a buffer that is large enough to contain the
maximal reply size.

The hard coded limit of 10 discovered devices
may also be a problem (for very rare cases?).

Itai

_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to