Re: [PATCH] virFindFileInPath: Don't pass NULL to g_canonicalize_filename()

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

 



On Tue, Jun 15, 2021 at 18:05:49 +0200, Michal Privoznik wrote:
> If given file is not found in $PATH then g_find_program_in_path()
> returns NULL. However, g_canonicalize_filename() does not accept
> NULL as input.
> 
> Fixes: 65c2901906b5e2d707f9184ff3719a5375bab427
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/util/virfile.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[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]

  Powered by Linux