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

cf-net segmentation fault by wrong usage of options

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 3.12.0b1
    • Fix Version/s: 3.12.0
    • Component/s: cf-net, Network
    • Labels:
      None

      Description

      Seems, cf-net badly parse own options. When we use incorrect options, cf-net sigfaults like:

       

      [root@test.my:~]$ cf-net -H
      cf-net: option requires an argument – 'H'
      Default optarg = '(null)', c = '?' = 63
      Segmentation fault

      [root@test.my:~]$ cf-net --host aa.aa.aa.aa
      Segmentation fault

      [root@test.my:~]$ cf-net stat
      Segmentation fault

        Attachments

          Activity

            People

            Assignee:
            olehermanse Ole Herman Schumacher Elgesem
            Reporter:
            igorg Igor Goncharenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: