mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-08-15 06:47:01 +00:00
Fix unintended recursion in __wasilibc_register_preopened_fd. (#133)
This commit is contained in:
parent
5216983ad7
commit
951cc3eceb
@ -498,7 +498,7 @@ int
|
||||
__wasilibc_register_preopened_fd(int fd, const char *path)
|
||||
{
|
||||
const char *name = strdup(path);
|
||||
return name == NULL ? -1 : __wasilibc_register_preopened_fd(fd, name);
|
||||
return name == NULL ? -1 : internal_register_preopened_fd(fd, name);
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user