David S. Ahern 4ab4183d76 segfault due to buffer overrun in usb-serial
This fixes a segfault due to buffer overrun in the usb-serial device.
The memcpy was incrementing the start location by recv_used yet, the
computation of first_size (how much to write at the end of the buffer
before wrapping to the front) was not accounting for it. This causes the
next element after the receive buffer (recv_ptr) to get overwritten with
random data.

Signed-off-by: David Ahern <daahern@cisco.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-02-10 12:45:11 -06:00
2010-02-10 11:56:57 -06:00
2010-01-13 17:14:16 -06:00
2010-02-06 23:16:05 +01:00
2010-01-27 17:47:33 +00:00
2010-02-10 11:57:02 -06:00
2010-02-03 12:36:25 -06:00
2010-02-07 02:03:50 +03:00
2010-01-08 09:58:40 -06:00
2010-02-10 11:57:03 -06:00
2010-02-07 02:03:50 +03:00
2009-12-18 11:26:27 -06:00
2009-11-17 08:49:38 -06:00
2009-11-21 09:06:46 +00:00
2010-02-09 16:56:13 -06:00
2010-02-03 19:47:34 -02:00
2009-11-14 01:19:12 +01:00
2009-12-05 17:36:00 +01:00
2010-02-09 16:56:13 -06:00
2009-12-17 18:12:04 +01:00
2010-01-13 17:14:14 -06:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2010-02-09 16:56:13 -06:00
2010-02-06 19:24:42 +01:00
2010-01-08 09:58:40 -06:00
2010-01-08 09:58:40 -06:00
2010-02-07 02:03:50 +03:00
2010-02-07 02:03:50 +03:00
2010-02-07 02:03:50 +03:00
2010-02-07 02:03:50 +03:00
2010-02-07 02:03:50 +03:00
2010-02-10 11:57:02 -06:00
2010-02-10 11:57:02 -06:00
2009-12-12 07:59:43 -06:00
2010-01-08 09:58:40 -06:00
2009-12-03 09:41:29 -06:00
2009-12-25 18:19:15 +00:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2010-02-03 12:36:25 -06:00
2010-02-03 12:36:25 -06:00
2009-12-18 11:26:27 -06:00
2010-01-13 17:14:15 -06:00
2010-01-26 15:42:02 -06:00
2010-02-09 16:56:13 -06:00
2009-11-17 08:49:38 -06:00
2009-11-17 08:49:38 -06:00
2009-12-03 09:41:18 -06:00
2010-01-26 15:42:01 -06:00
2009-12-03 09:41:20 -06:00
2010-01-08 16:55:03 -06:00
2010-01-26 15:45:06 -06:00
2010-01-26 16:28:46 -06:00
2009-11-14 01:19:12 +01:00
2010-02-07 02:03:50 +03:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%