aboutsummaryrefslogtreecommitdiff
path: root/kernel/features
diff options
context:
space:
mode:
authorMarvin Borner2021-02-26 18:40:37 +0100
committerMarvin Borner2021-02-26 18:40:37 +0100
commit5cd84ad93f7d67cdaa134707fcce1b1ef85183ad (patch)
tree777ccbcf3034f96a013c402cf05ad23c35b4de0e /kernel/features
parent0f00932955521c3c2fb8140176ab72f22172c298 (diff)
Full UBSan support - many fixes!
Diffstat (limited to 'kernel/features')
-rw-r--r--kernel/features/load.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/features/load.c b/kernel/features/load.c
index 9024c82..8a4aae3 100644
--- a/kernel/features/load.c
+++ b/kernel/features/load.c
@@ -17,7 +17,6 @@ void proc_load(struct proc *proc, void *data)
int bin_load(const char *path, struct proc *proc)
{
- // TODO: Remove hardcoded filesize
struct stat s = { 0 };
vfs_stat(path, &s);
char *data = malloc(s.size);