git: hammer - Fix a NULL pointer dereference.
Antonio Huete Jimenez
tuxillo at crater.dragonflybsd.org
Sun Oct 12 15:07:18 PDT 2014
commit daf5ec8a8789084a8ad1b9b2fafad64c6a94a528
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date: Sun Oct 12 20:52:12 2014 +0200
hammer - Fix a NULL pointer dereference.
- hammer_create_inode() allows its parameter dip to be NULL, so
before checking nlinks, see if dip is actually not NULL.
Spotted-by: swildner
Summary of changes:
sys/vfs/hammer/hammer_inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/daf5ec8a8789084a8ad1b9b2fafad64c6a94a528
--
DragonFly BSD source repository
More information about the Commits
mailing list