Validate @keycodes and sleep for @holdtime before successfully
returning.
Signed-off-by: Ilias Stamatis
---
src/test/test_driver.c | 40
1 file changed, 40 insertions(+)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index
This argument wasn't validated anywhere, neither in the generic
implementation nor in the individual drivers. As a result a call to this
function with a large enough codeset value prior to this change causes
libvirtd to crash.
This happens because all drivers call virKeycodeValueTranslate which
Thanks,Michal
I understand what you mean, and I have sent the second patch “PATCH
v2”,please review it. :)
Jie
On 2019/5/31 16:55, Michal Privoznik wrote:
On 5/31/19 10:06 AM, wangjie (P) wrote:
Hi, Michal:
Sorry, I don't think out which case make us to do that, what are
the