git: HAMMER Utility - Fix seg-fault in hammer cleanup if blank lines in config

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Dec 14 08:05:06 PST 2009


commit 743332ab9fb2411f4676b35af2c2a0dfadee5f69
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Dec 14 08:01:57 2009 -0800

    HAMMER Utility - Fix seg-fault in hammer cleanup if blank lines in config
    
    * If the HAMMER config contained blank lines the hammer cleanup
      directive would seg-fault trying to parse it.
    
    * Ignore blank lines.  Also ignore lines beginning with a '#' when
      parsing the config.
    
    Reported-by: elekktretterr at exemail.com.au

Summary of changes:
 sbin/hammer/cmd_cleanup.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/743332ab9fb2411f4676b35af2c2a0dfadee5f69


-- 
DragonFly BSD source repository





More information about the Commits mailing list