diff options
| author | Isaku Yamahata | 2013-08-09 22:05:40 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2013-08-12 16:31:15 +0200 |
| commit | 885e8f984ea846e79a39ddc4f066f4dd3d04b264 (patch) | |
| tree | e4779c6c19f1b1e6c4bc42e8d903b323052c05cd /include/exec/cpu-common.h | |
| parent | pc_sysfw: do not make it a device anymore (diff) | |
| download | qemu-885e8f984ea846e79a39ddc4f066f4dd3d04b264.tar.gz qemu-885e8f984ea846e79a39ddc4f066f4dd3d04b264.tar.xz qemu-885e8f984ea846e79a39ddc4f066f4dd3d04b264.zip | |
rdma: use resp.len after validation in qemu_rdma_registration_stop
resp.len is given from remote host. So should be validated before use.
Otherwise memcpy can access beyond the buffer.
Cc: Michael R. Hines <mrhines@us.ibm.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Michael R. Hines <mrhines@us.ibm.com>
Signed-off-by: Isaku Yamahata <yamahata@private.email.ne.jp>
Signed-off-by: Michael R. Hines <mrhines@us.ibm.com>
Message-id: 1376078746-24948-2-git-send-email-mrhines@linux.vnet.ibm.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include/exec/cpu-common.h')
0 files changed, 0 insertions, 0 deletions
