> You no longer check buf against NULL, can a misbehaved program cause a > problematic seg fault in the kernel?
I put the onus of checking buf != NULL and count != 0 on copy_to_user. > I'm betting that semaphore needs to be upped before returning :) Yes, it does. I'll leave that to you. ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel