Re: [PATCH v2 2/4] ppc64Compute: Avoid possible NULL dereference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 02, 2016 at 12:42:51 +0200, Michal Privoznik wrote:
> cpu/cpu_ppc64.c: In function 'ppc64Compute':
> cpu/cpu_ppc64.c:620:27: error: potential null pointer dereference [-Werror=null-dereference]
>      if (STRNEQ(guest_model->name, host_model->name)) {
>                 ~~~~~~~~~~~^~~
> cpu/cpu_ppc64.c:620:9: note: in expansion of macro 'STRNEQ'
>      if (STRNEQ(guest_model->name, host_model->name)) {
>          ^~~~~~
> cc1: all warnings being treated as errors
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/cpu/cpu_ppc64.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

ACK

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]