Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-19005

[NETSTAT] crashes when called with -abnop

    XMLWordPrintable

Details

    Description

      netstat crashes during parsing cmdline options when it is called like this

      netstat -abnop
      

      0.4.15-dev-6172-gc63489f_netstatCrash_abnop.png
      0.4.15-dev-6172-gc63489f_netstatCrash_abnop.log

      Expected result of MS netstat on XPSP3:
      MS_netstat_on_XPSP3_does_neither_show_UDP_nor_TCP_connections_then.PNG
      but it doesn't crash

      Please notice that our netstat also does not crash when called like that

      netstat -abnop udp
      netstat -abnop tcp
      

      So the problem is the -p parameter parsing if we don't append a protocol name to it.

      Attachments

        Issue Links

          Activity

            People

              reactosfanboy reactosfanboy
              reactosfanboy reactosfanboy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: