关键信息 Pull Request Title: Fix wrong check on max_count of chained segments. #5770 Issue ID: Fixes #5768 Description: - but it must be limited to what is allocated. - Related to functions and their structure. - Includes tests to prove changes are effective. - AI tools were used for code changes. Reviewers: - notxvilka approved the changes. Labels: - Mach-O - RzBin Labels: - None yet Milestone: - 0.8.3 Development: - Successfully merging this pull request may close these issues. Heap-based OOB: - Write in mach0_chained_fixes. Commits: - Commit referenced: Review History: - Merged into branch by wargio 3 weeks ago. - 46 of 49 checks passed. Milestone Addition: - Added to 0.8.2 milestone. Remaining Issues: - None yet.