mirror of
https://github.com/clearlinux/clr-debug-info.git
synced 2026-08-27 18:47:54 +00:00
few more checks
This commit is contained in:
+1
-1
@@ -186,7 +186,7 @@ static void *server_thread(void *arg)
|
||||
path++;
|
||||
|
||||
|
||||
if (strstr(path, "..") || strstr(prefix, "..")) {
|
||||
if (strstr(path, "..") || strstr(prefix, "..") || strstr(path, "'") || strstr(path, ";")) {
|
||||
close(fd);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user