On Wed, 20 Nov 2013 10:57:01 -0600
Serge Hallyn <serge.hal...@ubuntu.com> wrote:

> > +           lxc_fill_elevated_privileges(NULL, &elevated_privileges);  
> 
> Note I've applied it as is, and this failure shouldn't ever happen
> anyway, but you're not checking return value of
> lxc_fill_elevated_privileges() here.

Thanks, Serge.

I didn't check return value since it is really straight-forward and
simple in case the first argument is NULL. But, you're right, I'll
keep this in mind for the future.

-- 
Nikola Kotur
http://blog.kotur.org

PGP key: http://bin.kotur.org/key.html

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to