Fix #23581 - Infinite loop with unsupported dwarf command ##crash
Some checks failed
build / linux-wasi (push) Has been cancelled
build / linux-wasi-api (push) Has been cancelled
build / linux-csnext (push) Has been cancelled
build / linux-ssl-crypto (push) Has been cancelled
build / tarball (push) Has been cancelled
build / linux-static (push) Has been cancelled
build / linux-acr-rpm-64 (push) Has been cancelled
build / linux-acr-deb (amd64) (push) Has been cancelled
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Has been cancelled
build / linux-acr-deb (i386, multilib) (push) Has been cancelled
build / macos-acr (arm64, 13) (push) Has been cancelled
build / macos-acr (x86_64, 12) (push) Has been cancelled
build / ios (cydia32) (push) Has been cancelled
build / ios (true, cydia) (push) Has been cancelled
build / android-acr (16, arm) (push) Has been cancelled
build / android-acr (aarch64) (push) Has been cancelled
build / android-meson (x86_64) (push) Has been cancelled
build / w32-meson (push) Has been cancelled
build / w64-static-2022 (push) Has been cancelled
build / w64-static (push) Has been cancelled
build / w64-meson (push) Has been cancelled
CI / linux-acr-oldlibsbug (push) Has been cancelled
CI / linux-nocs (push) Has been cancelled
CI / linux-acr-gperf (push) Has been cancelled
CI / linux-sys-capstone (push) Has been cancelled
CI / linux-acr-resymlink (push) Has been cancelled
CI / linux-test (push) Has been cancelled
CI / linux-static-meson (push) Has been cancelled
CI / macos-test (push) Has been cancelled
CI / linux-rpath (push) Has been cancelled
CI / macos-rpath (push) Has been cancelled
CI / linux-meson-spaces (push) Has been cancelled
CI / linux-tinyasan-fuzz (push) Has been cancelled
CI / linux-asan-fuzz (push) Has been cancelled
CI / w64-make (push) Has been cancelled
CI / w32-mingw (push) Has been cancelled
CI / w64-mingw (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Has been cancelled
Coverity Scan / latest (push) Has been cancelled
tcc / ubuntu-tcc-newabi (push) Has been cancelled
tcc / ubuntu-tcc-test (push) Has been cancelled
tcc / ubuntu-tcc-nodbg (push) Has been cancelled
tcc / r2pm-tcc (push) Has been cancelled
tcc / ubuntu-tcc-syslibs (push) Has been cancelled
build / check_abi_compatibility (push) Has been cancelled
build / check_release (push) Has been cancelled
build / release (push) Has been cancelled

This commit is contained in:
pancake 2024-11-16 21:29:20 +01:00 committed by pancake
parent 71a7e9bb48
commit 36fd63cffa

View File

@ -873,6 +873,7 @@ static const ut8 *parse_line_header_source_dwarf5(RBin *bin, RBinFile *bf, const
break;
default:
R_LOG_WARN ("Invalid form code %d", form_code);
buf = NULL;
break;
}
@ -935,7 +936,7 @@ static const ut8 *parse_line_header_source_dwarf5(RBin *bin, RBinFile *bf, const
break;
default:
buf = NULL;
R_LOG_ERROR ("Invalid ior unsupported DW line number content type %d", content_type_code);
R_LOG_ERROR ("Invalid or unsupported DW line number content type %d", content_type_code);
break;
}
}