Sebastian Lackner sebastian@fds-team.de writes:
dlls/ntdll/file.c | 44 ++++++++++++++++++ dlls/ntdll/tests/file.c | 76 +++++++++++++++++-------------- server/fd.c | 115 ++++++++++++++++++++++++++++++++++++++++++++++-- server/protocol.def | 8 +++ 4 files changed, 205 insertions(+), 38 deletions(-)
You need to validate the path name, probably the same way create_file() does. Also I think it would be cleaner with a separate request.