Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-68350

Disable GCC warning for freeing in RecordId destructor

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-08-08
    • 70

    Description

      It seems that with more recent versions of GCC the RecordId destructor gives a false positive for freeing a non-heap pointer even though the pointer will only be set with valid data if the guard condition is valid.

      We should disable the warning for now.

      Attachments

        Activity

          People

            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: