Patch: Don't copy back the stat struct from stat_cache_lookup if we did not get a hit on the full path
jra at samba.org
Mon Sep 17 22:01:38 UTC 2018
On Mon, Sep 17, 2018 at 01:43:47PM -0700, Richard Sharpe via samba-technical wrote:
> Hi folks,
> If the stat cache does not contain the full path we are looking up we
> copy back the stat struct for a completely unrelated object (one of
> the parent directories).
> It's not a problem unless we are carrying other things around in the
> stat_ex struct.
> Here is a small patch to stop that behavior.
> If it looks OK, I will send it along with a signed-off-by.
Oh, that is completely correct. Can you send it
along as a git-am fix ?
More information about the samba-technical