From b528a54a708c4cd2149c8e6884af2063c2b272cd Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 17 Jun 2023 22:19:36 +0200 Subject: kernel: fix procfs overflow bug, add safeguard to prevent similar ones --- src/kernel/arch/amd64/driver/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel/arch') diff --git a/src/kernel/arch/amd64/driver/util.h b/src/kernel/arch/amd64/driver/util.h index 4b8bb04..c49b859 100644 --- a/src/kernel/arch/amd64/driver/util.h +++ b/src/kernel/arch/amd64/driver/util.h @@ -4,6 +4,7 @@ #include #include +// TODO put req_readcopy in a global header int req_readcopy(VfsReq *req, const void *buf, size_t len); /* compare request path. path MUST be a static string */ -- cgit v1.2.3