]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu_x86: Handle error in x86DataToCPU when calling x86DataAdd
authorJohn Ferlan <jferlan@redhat.com>
Fri, 21 Jun 2019 17:10:35 +0000 (13:10 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 24 Jun 2019 21:46:49 +0000 (17:46 -0400)
commitfa7d0cc1e74cfc3fa2f268d37e3f8d8ac8728b49
treeb68c7292fdf59a33d8f078423cb73c4749f25caf
parent5acb4eede23bcd5bc75193ea21542e0fb04b6e45
cpu_x86: Handle error in x86DataToCPU when calling x86DataAdd

Commit 9c9620af called x86DataAdd without checking for an error,
so add the error checking.

Found by Coverity

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/cpu/cpu_x86.c