Headline
CVE-2023-1605: fix segfault when bin->symbols is NULL #21503 · radareorg/radare2@508a630
Denial of Service in GitHub repository radareorg/radare2 prior to 5.8.6.
Skip to content
Actions
Automate any workflow
Packages
Host and manage packages
Security
Find and fix vulnerabilities
Codespaces
Instant dev environments
Copilot
Write better code with AI
Code review
Manage code changes
Issues
Plan and track work
Discussions
Collaborate outside of code
* Explore
* All features
* Documentation
* GitHub Skills
* Blog
For
Enterprise
Teams
Startups
Education
By Solution
CI/CD & Automation
DevOps
DevSecOps
Case Studies
Customer Stories
Resources
GitHub Sponsors
Fund open source developers
* The ReadME Project
GitHub community articles
* Repositories
* Topics
* Trending
* Collections
Pricing
Notifications
Fork 2.8k
Code
Issues 832
Pull requests 17
Discussions
Actions
Projects 27
Security
Insights
Permalink
Showing 1 changed file with 6 additions and 4 deletions.
@@ -505,11 +505,13 @@ static RList *patch_relocs(RBin *b) {
size_t nimports = 0;
int i;
for (i = 0; i < bin->hdr.f_nsyms; i++) {
if (is_imported_symbol (&bin->symbols[i])) {
nimports++;
if (bin->symbols) {
for (i = 0; i < bin->hdr.f_nsyms; i++) {
if (is_imported_symbol (&bin->symbols[i])) {
nimports++;
}
i += bin->symbols[i].n_numaux;
}
i += bin->symbols[i].n_numaux;
}
ut64 m_vaddr = UT64_MAX;
if (nimports) {
0 comments on commit 508a630
Please sign in to comment.