Fix a panic in the __getcwd(2) syscall.
authorSascha Wildner <saw@online.de>
Sun, 8 Aug 2010 09:19:09 +0000 (11:19 +0200)
committerSascha Wildner <saw@online.de>
Sun, 8 Aug 2010 09:19:09 +0000 (11:19 +0200)
commit2d63aca108fd8c9b3e5ed77636450d06a854afd7
tree9da2f066842f50b2ee5fb353dc85c27a6022ea29
parent53a2e712c52bdf68542c5f9cd313d14e2e7e2083
Fix a panic in the __getcwd(2) syscall.

buflen has to be unsigned so that large values do not become negative
and sneak past the MAXPATHLEN check.
sys/kern/vfs_cache.c