Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-618

Please annotate swapcontext for ASAN

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • None
    • 3.3.15
    • Non blocking API
    • None

    Description

      For correctness of AddressSanitizer stack-use-after-return detection one has to annotate swapcontext calls with those when implementing their own fibers.

      Since stack-use-after-return is enabled by default in recent clang-15 release (when compiling with -fsanitize=address that is), would be great to see this feature supported by mariadb-connector-c.

      Attachments

        Activity

          People

            knielsen Kristian Nielsen
            i.trofimow Ivan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.75d
                0.75d
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 1.5h Time Not Required
                1.5h

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.