[lxc-devel] lxc - [PATCH] initialize lxc_fd_list before WARN return path

Daniel Lezcano dlezcano at fr.ibm.com
Mon Aug 10 13:33:54 UTC 2009


Ken-ichirou MATSUZAWA wrote:
>  Hello, Daniel, Michel.
> I'm sorry where I have to to send lxc's patches.

Hi Ken-ichirou,

you sent the patch to the right persons :) you should add the 
lxc-devel at lists.sourceforge.net too (added in the Cc).

> We should initialize lxc_fd_list before opendir in
> __lxc_fd_collect_inherited in case of opendir returns error.

Good catch and thanks for the patch, I will take it.
Did you see the problem while reading the code or did you effectively 
failed to open the /proc/self/fd directory ? If so, is it possible to 
explain how it happens ?

Thanks
   -- Daniel.





More information about the lxc-devel mailing list