diff options
author | dzwdz | 2023-06-17 22:19:36 +0200 |
---|---|---|
committer | dzwdz | 2023-06-17 23:39:27 +0200 |
commit | b528a54a708c4cd2149c8e6884af2063c2b272cd (patch) | |
tree | ded8aff45f2d5e7f08eb68f710edc7b9b164d5a2 /src/kernel/arch | |
parent | 8929eb838bec8d3f5eb0d5a1c6b91a4f27d0baff (diff) |
kernel: fix procfs overflow bug, add safeguard to prevent similar ones
Diffstat (limited to 'src/kernel/arch')
-rw-r--r-- | src/kernel/arch/amd64/driver/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <stdbool.h> #include <stddef.h> +// 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 */ |