Re: Re: Potential bugs found in psmouse

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Sir,
Actually, I find that psmouse_attr_set_protocol checks
psmouse_switch_protocol's return vaule, but psmouse_connect does not. So I
let psmouse_switch_protocol() in psmouse_connect return -1 in purpose to
test the robustness of psmouse driver. 
However, psmouse_switch_protocol() in psmouse_connect gets NULL as protocol
and it will not fail. I think you are right, and this error is unreal.
Thank you very much!

--
Jia-Ju Bai


--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux