1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-02-22 17:57:43 +03:00
Peter Krempa ce2107a9a0 qemu: monitor: Fix type of holdtime argument in qemuMonitorJSONSendKey
qemuMonitorJSONSendKey declares the "holdtime" argument as unsigned int
while the command was constructed in qemuMonitorJSONMakeCommand using
the "P" modifier which took a unsigned long from the variable
arguments which then made it possible to access uninitialized memory.

This broke the qemumonitorjsontest on 32bit fedora 20:
64) qemuMonitorJSONSendKey
... libvirt: QEMU Driver error : internal error: unsupported data type 'W' for arg 'WVSƒì ‹D$0è‘wÿÿÃAå' FAILED

Uncovered by upstream commit f744b831c66d9e82453f7a96cab5eddf7570c253.

Additionally add test for the hold-time option.
2014-06-03 14:24:14 +02:00
..
2014-01-01 16:34:13 +00:00
2012-04-02 09:33:54 -06:00
2014-03-25 17:13:27 -04:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2013-07-29 13:09:39 -06:00
2013-03-19 13:13:28 -06:00
2013-10-08 12:39:30 +01:00
2013-10-14 10:31:01 +01:00
2014-04-08 11:15:55 +01:00
2014-04-21 16:49:08 -06:00