git: hammer2 - Fix improper bzero length in rename code

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 19 23:03:18 PDT 2017


commit 859c7a29d67bb1dba90cbe5ff6535447ee792c2a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 19 23:00:03 2017 -0700

    hammer2 - Fix improper bzero length in rename code
    
    * When renaming to a long filename the data buffer is sized according
      to chain->bytes.  sizeof(chain->data->buf) is too much.  Fix the
      bzero.
    
    * Fixes a panic.

Summary of changes:
 sys/vfs/hammer2/hammer2_inode.c |  5 +++++
 sys/vfs/hammer2/hammer2_xops.c  | 16 +++++++++++++---
 2 files changed, 18 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/859c7a29d67bb1dba90cbe5ff6535447ee792c2a


-- 
DragonFly BSD source repository


More information about the Commits mailing list