Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-40316

Infer: PULSE_RESOURCE_LEAK in connect

    XMLWordPrintable

Details

    • Can result in unexpected behaviour
    • Fix Static Application Security Testing(SAST) warnings in Connect storage engine.
    • Q4/2026 Server Maintenance

    Description

      11.4.12-9
      storage/connect/filamzip.cpp:233: PULSE_RESOURCE_LEAK: File descriptor dynamically allocated by `fopen()` on line 225 is not closed after the last access at line 233, column 7.
      storage/connect/tabmul.cpp:1165: PULSE_RESOURCE_LEAK: File descriptor dynamically allocated by `fopen()` on line 1155 is not closed after the last access at line 1165, column 9.
      storage/connect/tabmul.cpp:1172: PULSE_RESOURCE_LEAK: File descriptor dynamically allocated by `fopen()` on line 1155 is not closed after the last access at line 1172, column 11.
       
      11.8.8-5
      storage/connect/filamzip.cpp:233: PULSE_RESOURCE_LEAK: File descriptor dynamically allocated by `fopen()` on line 225 is not closed after the last access at line 233, column 7.
      storage/connect/tabmul.cpp:1165: PULSE_RESOURCE_LEAK: File descriptor dynamically allocated by `fopen()` on line 1155 is not closed after the last access at line 1165, column 9.
      storage/connect/tabmul.cpp:1172: PULSE_RESOURCE_LEAK: File descriptor dynamically allocated by `fopen()` on line 1155 is not closed after the last access at line 1172, column 11.
       

      Attachments

        Activity

          People

            raghunandan.bhat Raghunandan Bhat
            es-jenkins-sa ES Jenkins
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5d Original Estimate - 0.5d
                0.5d
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 1d 0.5h
                1d 0.5h

                Git Integration

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