https://sourceware.org/bugzilla/show_bug.cgi?id=33193

            Bug ID: 33193
           Summary: objdump causes stack-overflow with options -x and -e
           Product: binutils
           Version: 2.44
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: me at alardutp dot dev
  Target Milestone: ---

Created attachment 16193
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16193&action=edit
POC

# Overview

In binutils version 2.44, I found that `objdump` can trigger a stack-overflow
bug when the `-x` and `-e` options are used together.

# Steps to Reproduce

1) Compile binutils.

   CFLAGS='-g -fsanitize=address' ./configure
   make all-binutils

2) Run:

   ./binutils/objdump -x -e POC

# Actual Results

ERROR: AddressSanitizer: stack-overflow

# Expected Results

No crashes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to