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

看板DFBSD_commit作者時間15年前 (2010/08/08 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 2d63aca108fd8c9b3e5ed77636450d06a854afd7 Author: Sascha Wildner <saw@online.de> Date: Sun Aug 8 11:19:09 2010 +0200 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. Summary of changes: sys/kern/vfs_cache.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2d63aca108fd8c9b3e5ed77636450d06a854afd7 -- DragonFly BSD source repository
文章代碼(AID): #1CNdcMMA (DFBSD_commit)