[LinuxBIOS] PATCH: mkdirp() error on new directory outside given parent
peter at stuge.se
Thu Jul 12 11:09:26 CEST 2007
On Thu, Jul 12, 2007 at 10:57:08AM +0200, Stefan Reinauer wrote:
> > Make mkdirp() abort directory creation and return an error if a
> > directory in dirpath is located outside the specified parent
> Are you trying to avoid an exploit, or what is it needed for?
Right. But it was much more of a mess than I first thought. I forgot
that realpath() only works when the full path already exists.
> mkdirp should not be changed to take other parameters than this:
More information about the coreboot