Menu

#256 dwarf2: code uses local variable as global reference

None
closed-accepted
None
5
2015-12-30
2015-12-30
No

Hello SDCC team,

Here is a patch for a small bug in the dwarf2 output fornatter.

It allocates a compiler name and inserts it into a global list for later use (which it does).
This does not end well of course, and name becomes severely corrupted.

Allocating it instead fixes the problem.

Thanks,

/pedro

1 Attachments

Discussion

  • Philipp Klaus Krause

    • assigned_to: Philipp Klaus Krause
    • Group: -->
     
  • Philipp Klaus Krause

    Applied in #9432.

    Philipp

     
  • Philipp Klaus Krause

    • status: open --> closed-accepted
     

Log in to post a comment.