Re: [PATCH] Do not call closedir with NULL argument

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

 



On Mon, Jun 23, 2014 at 12:36 PM, Ján Tomko <jtomko@xxxxxxxxxx> wrote:
> Only three other callers possibly call closedir on a NULL argument.
> Even though these probably won't be used on FreeBSD where this crashes,
> let's be nice and only call closedir on an actual directory stream.
> ---
>  src/parallels/parallels_storage.c | 2 +-
>  src/util/virscsi.c                | 6 ++++--
>  2 files changed, 5 insertions(+), 3 deletions(-)


ACK



-- 
Nehal J Wani

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