DragonFly BSD
DragonFly commits List (threaded) for 2009-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Dec 2009 08:03:20 -0800 (PST)

commit 743332ab9fb2411f4676b35af2c2a0dfadee5f69
Author: Matthew Dillon <dillon@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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]