This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug guile/16837] New: audit smob creation, assign SCM values after scm_new_smob


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

            Bug ID: 16837
           Summary: audit smob creation, assign SCM values after
                    scm_new_smob
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: guile
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

Going back to review some code I noticed e.g., gdbscm_make_pretty_printer that
does smob creation in an order that doesn't properly hold on to values to
protect them from GC.

Testing patch.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]