Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1658

Don't freeaddrinfo(3) response2 as it may not be initialized

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.2
    • Component/s: Network
    • Labels:
      None

      Description

      In the case where the second getaddrinfo(3) fails, the error condition should not call freeaddrinfo(3), as response2 has not been initialized.

      I submitted a pull request here: https://github.com/cfengine/core/pull/1918

        Attachments

          Activity

            People

            • Assignee:
              a10038 jimis (Dimitrios Apostolou)
              Reporter:
              worr William Orr
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel