[prev in list] [next in list] [prev in thread] [next in thread] 

List:       binutils-bugs
Subject:    [Bug gold/19277] New: inutils-gdb/gold/arm.cc:4513: reading dead memory
From:       "dcb314 at hotmail dot com" <sourceware-bugzilla () sourceware ! org>
Date:       2015-11-20 20:03:21
Message-ID: bug-19277-70 () http ! sourceware ! org/bugzilla/
[Download RAW message or body]

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

            Bug ID: 19277
           Summary: inutils-gdb/gold/arm.cc:4513: reading dead memory
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: dcb314 at hotmail dot com
                CC: ian at airs dot com
  Target Milestone: ---

[binutils-gdb/gold/arm.cc:4513]: (error) Returning/dereferencing 'buffer' after
it is deallocated / released

      delete[] buffer;
      return std::string(buffer);

Suggest code rework.

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic