+-- On Tue, 13 Dec 2016, Marc-André Lureau wrote --+ | > - resp = g_malloc(sizeof(*resp) + max_size); | > + if (!max_size) { | > + cmd->error = VIRTIO_GPU_RESP_ERR_INVALID_PARAMETER; | > + return; | > + } | > | > + resp = g_malloc(sizeof(*resp) + max_size); | > resp->hdr.type = VIRTIO_GPU_RESP_OK_CAPSET; | | That looks good to me, waiting for the proper patch.
Okay, sent. Thank you. -- Prasad J Pandit / Red Hat Product Security Team 47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F