Hello,

Svante Signell, on dim. 24 sept. 2017 15:17:02 +0200, wrote:
> On Fri, 2017-09-22 at 20:27 +0200, Samuel Thibault wrote:
> > Hello,
> > 
> > > +  file_t file = __file_name_lookup (file_name, O_EXEC, 0);
> > 
> > This creates a file_t, so return paths have to deallocate it (just
> > like it is done at the end of the function).
> 
> Fixed.

Thanks!

I however realize: we of course need the same for spawni() (using getcwd
instead of realpath), since it'll have the same kinds of issues.

Samuel

Reply via email to