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

            Bug ID: 29200
           Summary: Infinite loop in nm-new
           Product: binutils
           Version: 2.36.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: abhishah212 at gmail dot com
  Target Milestone: ---

Created attachment 14122
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14122&action=edit
infinite loop artifacts

We found an infinite loop in `nm`. We describe our best effort to understand
the vulnerability below. We attach the relevant files as well. 

*Location* 
https://github.com/bminor/binutils-gdb/blob/binutils-2_36-branch/libiberty/cp-demangle.c#L1548

*Description*
While loop never terminates, as the intermediate conditional statements are not
satisfied. 

*Fix*
Convert while loop to a bounded for loop statement.

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

Reply via email to