mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-02 03:32:04 +00:00
Fix #2760
This commit is contained in:
parent
7bd2cd08ff
commit
14150164bf
@ -95,6 +95,7 @@ R_API void r_core_syscmd_ls(const char *input) {
|
||||
char *name;
|
||||
char *dir;
|
||||
int off;
|
||||
if (!input || *input == '\0') return;
|
||||
if (r_sandbox_enable (0)) {
|
||||
eprintf ("Sandbox forbids listing directories\n");
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user