X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=linux_module%2Fiface-host-dev.c;h=23adb35956319be27a92fd7dc0e1720c6d8c923f;hp=c8f8f609288941ec6f3e092578674bf8c19855d2;hb=a5d2c00cc461b4a60a1360a2a0bba55cef467bab;hpb=3e937e5468169b8183a22a90f6d07ff370abde0c 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");