git: hammer1 - Fix left-over /va/run/hammer.cleanup files

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Dec 17 13:47:59 PST 2018


commit 1156c9984630019bb54e3ad45aebf5b8768b9873
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Dec 17 13:46:11 2018 -0800

    hammer1 - Fix left-over /va/run/hammer.cleanup files
    
    * Fix an incorrect API call by hammer1 to the pidfile_*() functions
      in libutil.  This caused hammer1 to leave its lock files sitting in
      /var/run due to a use-after-free that reared its ugly head after
      the version update.
    
    Reported-by: JustinS

Summary of changes:
 sbin/hammer/cmd_cleanup.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1156c9984630019bb54e3ad45aebf5b8768b9873


-- 
DragonFly BSD source repository


More information about the Commits mailing list