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:
Rot127 2026-05-18 15:20:19 +00:00 committed by GitHub
parent b2297073bf
commit 8a76ab1733
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -1,4 +1,4 @@
[wrap-git]
url = https://github.com/rizinorg/rz-libdemangle.git
revision = 6bf56d32b32547ae4cb069ccfc2d2b6c7b63a4cb
revision = e633061e901208a20ed90f8aaf0b64f25caf73eb
depth = 1

View file

@ -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;