X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fiface-host-dev.c;h=23adb35956319be27a92fd7dc0e1720c6d8c923f;hb=9d346ee2cf8a7f2a79dc4929b8e0416de7d8f8c8;hp=c8f8f609288941ec6f3e092578674bf8c19855d2;hpb=d22c11cec4e8c3390bfe6bf16ed07f5d073f0d4a;p=palacios.git diff --git a/linux_module/iface-host-dev.c b/linux_module/iface-host-dev.c index c8f8f60..23adb35 100644 --- a/linux_module/iface-host-dev.c +++ b/linux_module/iface-host-dev.c @@ -369,6 +369,7 @@ static long host_dev_ioctl(struct file * fp, unsigned int val, unsigned long arg switch (op.type) { case PALACIOS_HOST_DEV_USER_REQUEST_READ_GUEST: { + // possible overflow here, but only if user is asking for too much... void *temp = palacios_alloc(op.len); DEEP_DEBUG_PRINT("palacios: hostdev: read guest\n");