[exim-dev] [Bug 2256] New: Need class grouping of variables

Etusivu
Poista viesti
Vastaa
Lähettäjä: admin
Päiväys:  
Vastaanottaja: exim-dev
Aihe: [exim-dev] [Bug 2256] New: Need class grouping of variables
https://bugs.exim.org/show_bug.cgi?id=2256

            Bug ID: 2256
           Summary: Need class grouping of variables
           Product: Exim
           Version: 4.90
          Hardware: All
                OS: All
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: String expansion
          Assignee: nigel@???
          Reporter: jgh146exb@???
                CC: exim-dev@???


It's unwieldy and fragile keeping track of which variables are live
where. This has been a source of some bugs, where use of a non-live variable
does a use-after-free access because the (global) pointer was not nulled out.

The debug_store option enables checks for these, but hits depend on the actual
config being exercised.

A high-level view of one possible direction to deal better with this:
some means of labelling or otherwise grouping variables, so that defined
code locations could just wipe all variables of a class. Then when new
variables were created (with correct labelling...) the transitions to non-live
would get done as a matter of course.

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