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

cf-promises -p json segfaults when no file argument is given

    XMLWordPrintable

    Details

    • Steps to reproduce:
      Acceptance/unit test attached

      Description

      When you call cf-promises -p json without arguments, it segfaults.

      amousset ~/ λ /opt/rudder/bin/cf-promises
         error: Can't stat file '/home/amousset/.cfagent/inputs/promises.cf' for parsing. (stat: No such file or directory)
      amousset ~/ λ /opt/rudder/bin/cf-promises -p json
      fish: Job 2, “/opt/rudder/bin/cf-promises -p…” terminated by signal SIGSEGV (Address boundary error)
      

        Attachments

          Activity

            People

            • Assignee:
              a10038 jimis (Dimitrios Apostolou)
              Reporter:
              amousset Alexis Mousset
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel