commit f64881d4dfa234068869b522afc728decfbb168d
Author: Matthew Dillon <>
Date:   Fri Aug 4 21:38:10 2017 -0700

    kernel - Fix serious permissions bug for sticky directories
    * An optimization improperly bypassed the sticky-bit test, creating
      a security issue with /tmp and /var/tmp.
    * Fix by disabling the optimization for the second-to-last path component.
      Any prior components retain the optimization, so long directory paths
      are still well-optimized.

Summary of changes:
 sys/kern/vfs_nlookup.c | 36 ++++++++++++++++++++++++++++--------
 1 file changed, 28 insertions(+), 8 deletions(-)

DragonFly BSD source repository

Reply via email to