net socket verify packet size (Dustin Kirkland)
commitabcd2baab187cc3b1fcce13b697da5874a123e39
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 27 Feb 2009 19:54:01 +0000 (27 19:54 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 27 Feb 2009 19:54:01 +0000 (27 19:54 +0000)
treea6fc608e36a0f0ba9472d2224e51ad8c46165f76
parent31c05501c76b917bef4ae477f093e27dc9ef1b3b
net socket verify packet size (Dustin Kirkland)

net socket oversized packet

This is a patch being carried by Ubuntu against kvm/qemu.

Verify packet size before performing memcpy().

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6647 c046a42c-6fe2-441c-8c8c-71466251a162
net.c