]> Zhao Yanbai Git Server - minix.git/commit
. added checks for buffer sizes in sys_datacopy() functions in mfs,
authorBen Gras <ben@minix3.org>
Tue, 16 Jan 2007 14:50:10 +0000 (14:50 +0000)
committerBen Gras <ben@minix3.org>
Tue, 16 Jan 2007 14:50:10 +0000 (14:50 +0000)
commit722f1b2b9f3ba12121d2d796fdd5db88fd5f5127
treeeb7d773a0798f9d12f5bc6c8b7e1aaf0cb04abbb
parent94b936d7c1f26e85a302495ac1207b03ce1a5a83
. added checks for buffer sizes in sys_datacopy() functions in mfs,
  print debug message if copy is truncated
. increased buffer in lookup() to be PATH_MAX instead of NAME_MAX
. sanity check in fetch_name() in vfs to see if name fits, and
  is null-terminated
. first check i < NAME_MAX, then string[i] in search_dir, as we're
  not supposed to look at string[NAME_MAX]
servers/mfs/const.h
servers/mfs/link.c
servers/mfs/open.c
servers/mfs/path.c
servers/mfs/proto.h
servers/mfs/utility.c
servers/vfs/utility.c