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

看板DFBSD_commit作者時間16年前 (2009/12/15 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1B9droIa (DFBSD_commit)