Details
Details
- Reviewers
brooks - Commits
- rS285845: readelf: avoid division by zero on section entry size
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Add a get_ent_count helper to check for 0 entsize instead of expanding the check inline everywhere.
Comment Actions
Yes - sorry for the delay. I realized I had a newer implementation that factored the divide-by-zero checks into a helper function, and uploaded the new diff a few days ago.