Closed MaxXor closed 4 years ago
userland/client/listener.c
shell(int sock, char **args)
userland/client/client.c
readline(void)
userland/shell.c
runshell(int client)
fork()
Thank you for reporting that!
userland/client/listener.c
is a memory leak inshell(int sock, char **args)
when a large amount of arguments is submitted, it is fixed in a similar way like this: https://github.com/f0rb1dd3n/Reptile/blob/6bd476e38ebc15a5bd08a3457f14cf329978cad6/userland/client/client.c#L522-L528userland/client/client.c
anduserland/client/listener.c
is also a realloc memory leak inreadline(void)
userland/shell.c
is a memory leak inrunshell(int client)
whenfork()
failed