[3.14] gh-137293: Ignore Exceptions when searching ELF File in Remote Debug (GH-137309) (#149391)

gh-137293: Ignore Exceptions when searching ELF File in Remote Debug (GH-137309)
(cherry picked from commit 2995d45659)

Co-authored-by: Uxío García Andrade <uxiog21@gmail.com>
This commit is contained in:
Miss Islington (bot) 2026-05-05 03:15:33 +02:00 committed by GitHub
parent a458589a7e
commit 3f8c485660
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -762,6 +762,7 @@ search_linux_map_for_section(proc_handle_t *handle, const char* secname, const c
}
if (strstr(filename, substr)) {
PyErr_Clear();
retval = search_elf_file_for_section(handle, secname, start, path);
if (retval
&& (validator == NULL || validator(handle, retval)))