Bump demangler to latest commit + fix useless code (#6381)
* Update libdemangle to fix reachable double free * Get some return on an energy burning loop.
This commit is contained in:
parent
b2297073bf
commit
8a76ab1733
2 changed files with 5 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[wrap-git]
|
||||
url = https://github.com/rizinorg/rz-libdemangle.git
|
||||
revision = 6bf56d32b32547ae4cb069ccfc2d2b6c7b63a4cb
|
||||
revision = e633061e901208a20ed90f8aaf0b64f25caf73eb
|
||||
depth = 1
|
||||
|
|
|
|||
|
|
@ -1783,7 +1783,7 @@ RzList /*<RzDebugPid *>*/ *gdbr_pids_list(libgdbr_t *g, int pid) {
|
|||
// Avoid adding the same pid twice(could show more than once if it has threads)
|
||||
rz_list_foreach (list, iter, dpid) {
|
||||
if (tpid == dpid->pid) {
|
||||
continue;
|
||||
goto next;
|
||||
}
|
||||
}
|
||||
if (!(dpid = RZ_NEW0(RzDebugPid)) || !(dpid->path = strdup(exec_file))) {
|
||||
|
|
@ -1808,6 +1808,9 @@ RzList /*<RzDebugPid *>*/ *gdbr_pids_list(libgdbr_t *g, int pid) {
|
|||
if (g->data[0] == 'l') {
|
||||
break;
|
||||
}
|
||||
|
||||
next:
|
||||
continue;
|
||||
}
|
||||
|
||||
ret = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue