aboutsummaryrefslogtreecommitdiff
path: root/default-configs/i386-linux-user.mak
diff options
context:
space:
mode:
authorDavid S. Ahern <daahern@cisco.com>2010-02-03 09:00:54 -0700
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-10 12:45:11 -0600
commit4ab4183d766f10f9fc35cd9ef4acee39f241986f (patch)
treefe08cdf3b851f07c72eb46146e63cfebed1984cd /default-configs/i386-linux-user.mak
parent8e65b7c04965c8355e4ce43211582b6b83054e3d (diff)
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>
Diffstat (limited to 'default-configs/i386-linux-user.mak')
0 files changed, 0 insertions, 0 deletions