| Summary: | stack-buffer-overflow at objdump disassemble_bytes (objdump.c:3543:34) | ||
|---|---|---|---|
| Product: | binutils | Reporter: | 孙文举 <swj22> |
| Component: | binutils | Assignee: | Alan Modra <amodra> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.43 | ||
| Target Milestone: | 2.44 | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | 2025-01-15 00:00:00 | |
| Project(s) to access: | ssh public key: | ||
| Attachments: | poc | ||
|
Description
孙文举
2025-01-15 03:43:45 UTC
The master branch has been updated by Alan Modra <amodra@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=baac6c221e9d69335bf41366a1c7d87d8ab2f893 commit baac6c221e9d69335bf41366a1c7d87d8ab2f893 Author: Alan Modra <amodra@gmail.com> Date: Wed Jan 15 19:13:43 2025 +1030 PR32560 stack-buffer-overflow at objdump disassemble_bytes There's always someone pushing the boundaries. PR 32560 * objdump.c (MAX_INSN_WIDTH): Define. (insn_width): Make it an unsigned long. (disassemble_bytes): Use MAX_INSN_WIDTH to size buffer. (main <OPTION_INSN_WIDTH>): Restrict size of insn_width. Fixed for 2.44 |