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
Unknown Object (File)
Mon, Jun 2, 11:22 AM
Unknown Object (File)
Mon, May 19, 9:03 PM
Unknown Object (File)
May 9 2025, 6:24 AM
Unknown Object (File)
Apr 14 2025, 7:08 AM
Unknown Object (File)
Apr 14 2025, 6:41 AM
Unknown Object (File)
Apr 14 2025, 2:49 AM
Unknown Object (File)
Apr 14 2025, 1:44 AM
Unknown Object (File)
Apr 9 2025, 3:19 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 Skipped
Unit
Tests Skipped

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.