Re: [PATCH] lxc: don't try to reference NULL when mounting filesystems

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

 



On Mon, Aug 15, 2016 at 12:38:30 +0100, Daniel Berrange wrote:
>   <filesystem type='ram' accessmode='passthrough'>
>     <source usage='524288' units='KiB'/>
>     <target dir='/dev/shm'/>
>   </filesystem>
> 
> would lead to lxcContainerMountAllFS calling STRPREFIX
> on a NLL pointer because it failed to check if fs->src->path
> was non-NULL. This is a regression caused by
> 
>   commit da665fbd4858890fbb3bbf5da2a7b6ca37bb3220
>   Author: Olga Krishtal <okrishtal@xxxxxxxxxxxxx>
>   Date:   Thu Jul 14 16:52:38 2016 +0300
> 
>     filesystem: adds possibility to use storage pool as fs source
> 
>     Signed-off-by: Olga Krishtal <okrishtal@xxxxxxxxxxxxx>
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  src/lxc/lxc_container.c | 3 +--
>  1 file changed, 1 insertion(+), 2 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]