git: Fix a panic in the varsym_get(2) syscall.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Aug 8 11:15:39 PDT 2010


commit 548d73efcd5d53de16f4970944184cb3339737ec
Author: Sascha Wildner <saw at online.de>
Date:   Sun Aug 8 20:13:07 2010 +0200

    Fix a panic in the varsym_get(2) syscall.
    
    In varsymfind(), release the lock only if vss != NULL. This could be
    the case if garbage was passed in the mask.

Summary of changes:
 sys/kern/kern_varsym.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/548d73efcd5d53de16f4970944184cb3339737ec


-- 
DragonFly BSD source repository





More information about the Commits mailing list