Fix a panic in the varsym_get(2) syscall.
authorSascha Wildner <saw@online.de>
Sun, 8 Aug 2010 18:13:07 +0000 (20:13 +0200)
committerSascha Wildner <saw@online.de>
Sun, 8 Aug 2010 18:13:07 +0000 (20:13 +0200)
commit548d73efcd5d53de16f4970944184cb3339737ec
treec1ccd924e2419e8c822f8eb7a8b1254e278384b0
parent7d81ec720ff953ca935cc460af576fa2ca503a82
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.
sys/kern/kern_varsym.c