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

Top Page

Reply to this message
Author: admin
To: exim-dev
Subject: [exim-dev] [Bug 2256] New: Need class grouping of variables

            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.