[libvirt] [PATCH v2] lxc: Clang is complaining about possible NULL pointer.
John Ferlan
jferlan at redhat.com
Wed Nov 7 21:23:47 UTC 2018
On 11/7/18 3:57 PM, Julio Faracco wrote:
> The array "mount" inside lxc_container is not being checked before for
> loop. Clang syntax scan is complaining about this segmentation fault.
>
> Signed-off-by: Julio Faracco <jcfaracco at gmail.com>
> ---
> src/lxc/lxc_container.c | 14 ++++++++------
> 1 file changed, 8 insertions(+), 6 deletions(-)
>
Reviewed-by: John Ferlan <jferlan at redhat.com>
(and pushed)
John
FWIW:
Ironically Coverity never complained about this one even though it's in
the category of things Coverity doesn't like either ;-)
More information about the libvir-list
mailing list