bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/25198] New: trunk/binutils/prdbg.c:2140: use of out of dat


From: dcb314 at hotmail dot com
Subject: [Bug binutils/25198] New: trunk/binutils/prdbg.c:2140: use of out of date pointer
Date: Sat, 16 Nov 2019 14:35:51 +0000

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

            Bug ID: 25198
           Summary: trunk/binutils/prdbg.c:2140: use of out of date
                    pointer
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

trunk/binutils/prdbg.c:2140:26: error: Using pointer to local variable 'idbuf'
that is out of scope. [invalidLifetime]

Source code is

  else
    {
      char idbuf[20];

      sprintf (idbuf, "%%anon%u", id);
      name = idbuf;
    }

  if (! push_type (info, name))


Suggest rework to avoid out of date pointers.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]