stat: fix use of unitialized memory

This commit is contained in:
Matheus
2026-05-31 21:25:34 -03:00
parent fd0e7af0f7
commit 9eb54353a1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -77,13 +77,13 @@ syscallret_t syscall_fstatat(context_t *ctx, int dirfd, char *upath, stat_t *ust
return ret;
}
vnode_t *node = NULL;
vnode_t *dirnode = NULL;
file_t *file = NULL;
ret.errno = dirfd_enter(path, dirfd, &file, &dirnode);
if (ret.errno)
goto cleanup;
vnode_t *node = NULL;
ret.errno = vfs_lookup(&node, dirnode, path, NULL, flags & AT_SYMLINK_NOFOLLOW ? VFS_LOOKUP_NOLINK : 0);
if (ret.errno)
goto cleanup;
+1 -1
View File
@@ -1,5 +1,5 @@
name=astral
revision=14
revision=15
from_source=astral
imagedeps="build-essential nasm"
hostdeps="xgcc xbinutils limine"