mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-08 06:47:33 +00:00
* Fix segfault in osx
This commit is contained in:
parent
e101e5023d
commit
cb5f4f26da
@ -41,6 +41,7 @@ static int rabin_delegate(RThread *th) {
|
||||
if (rabin_cmd && r_file_exist (r.file->filename)) {
|
||||
char *nptr, *ptr, *cmd = r_sys_cmd_str (rabin_cmd, NULL, NULL);
|
||||
ptr = cmd;
|
||||
if (ptr)
|
||||
do {
|
||||
if (th) r_th_lock_enter(th->user);
|
||||
nptr = strchr (ptr, '\n');
|
||||
|
Loading…
x
Reference in New Issue
Block a user