[PATCH] fs: Fix memory leak in mount()
Sam Ravnborg
sam at ravnborg.org
Mon Jan 29 11:05:45 PST 2018
Hi Sasha.
...
> > No check for PTR_ERR after calling canonalize_path()
> >
> > unlink()
> > No check for PTR_ERR after call to canonalize_dir()
> >
> > readlink()
> > No check for PTR_ERR after call to canonalize_dir()
>
> Yes, the result should be checked.
>
> >
> > I can create patch for these - but I cannot do any thrustworthy testing.
> > And for the canonalize() I am uncertain if the check is requied.
> > Let me know your preference and I will take care.
>
> Patches would be very welcomed. Thanks Sam.
Thanks for the confirmation. Will get back to this in a few weeks.
Heading for vacation in a few days, so not time right now.
Sam
More information about the barebox
mailing list