Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Feb 2019 14:48:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 219689] [PATCH] systat segfault when invoked with some invalid arguments
Message-ID:  <bug-219689-227-nnfAzHEgtY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219689-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219689-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219689

--- Comment #6 from commit-hook@freebsd.org ---
A commit references this bug:

Author: gonzo
Date: Sun Feb  3 14:47:23 UTC 2019
New revision: 343714
URL: https://svnweb.freebsd.org/changeset/base/343714

Log:
  MFC r343222-r343223, r343338

  r343222:
  Fix crash in systat(4) when certain commands are called without arguments

  Add check for missing arguments to dsmatchselect and dsselect

  PR:           219689
  Submitted by: Marko Turk <mt@markoturk.info>

  r343223:
  Fix inconsistency in return values introduced by r343222

  Consistently return 1 or the case of missing arguments in both functions

  PR:           219689
  X-MFC-With:   343222

  r343338:
  Fix systat's :only command parser for the multiple arguments case

  According to systat(1) :only option is supposed to accept multiple drives
  but the parser for its arguments stops after first entry. Fix the parser
  logic to accept multiple drives.

  PR:           59220
  Reported by:  Andy Farkas <andyf@speednet.com.au>

Changes:
_U  stable/12/
  stable/12/usr.bin/systat/devs.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219689-227-nnfAzHEgtY>