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

Infinite loop in SocketConnect if socket(2) always fails

    XMLWordPrintable

    Details

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

      Description

      In the case where socket(2) never returns successfully, the addrinfo struct is never advanced, and connect is never true, so SocketConnect will infinite loop.

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              worr William Orr
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel