Page MenuHomeFreeBSD

libxo: add missing error check after xo_parse_args in netstat
ClosedPublic

Authored by op on Nov 20 2015, 2:02 PM.
Tags
None
Referenced Files
F152834604: D4233.diff
Fri, Apr 17, 10:09 AM
F152816073: D4233.diff
Fri, Apr 17, 7:26 AM
Unknown Object (File)
Mon, Apr 13, 5:02 AM
Unknown Object (File)
Thu, Apr 9, 10:11 AM
Unknown Object (File)
Thu, Apr 2, 5:44 AM
Unknown Object (File)
Wed, Apr 1, 5:36 AM
Unknown Object (File)
Mon, Mar 30, 5:26 PM
Unknown Object (File)
Mar 15 2026, 1:58 AM
Subscribers

Details

Summary

Before this fix:

op@opn ~> netstat --libxo=J
netstat: unknown libxo option value: 'J'
netstat: kvm not available: /dev/mem: Permission denied

After the fix applied:

op@opn ~> netstat --libxo=J
netstat: unknown libxo option value: 'J'

Obtained-from: HardenedBSD

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

op retitled this revision from to libxo: add missing error check after xo_parse_args in netstat.
op updated this object.
op edited the test plan for this revision. (Show Details)
op added reviewers: ume, sjg.
op set the repository for this revision to rS FreeBSD src repository - subversion.
op added a subscriber: pfg.

Could you please commit the patch, if the diff fine?

This revision was automatically updated to reflect the committed changes.