From f1bab6b74d84b972a9e817e5028b8e438bf5e83d Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 15 Aug 2024 21:29:54 +0200 Subject: kernel: disallow NUL bytes in paths --- src/libc/fs/misc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/libc') diff --git a/src/libc/fs/misc.c b/src/libc/fs/misc.c index d7013e8..67277bf 100644 --- a/src/libc/fs/misc.c +++ b/src/libc/fs/misc.c @@ -147,7 +147,6 @@ hid_t ufs_wait(char *buf, size_t len, struct ufs_request *req) { continue; } buf[req->len] = '\0'; - // TODO ensure passed paths don't have null bytes in them in the kernel } break; } -- cgit v1.2.3