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

Matthew Dillon dillon at
Mon Dec 17 13:50:13 PST 2018

commit d3483857c972706c973064c5a1e2467c8731d3f6
Author: Matthew Dillon <dillon at>
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(-)

DragonFly BSD source repository

More information about the Commits mailing list