[Bug 263188] pw accepts an "illegal option" but completes the command without error

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 19 Oct 2022 08:01:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263188

--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=06a079c69e843a796c5956b8e9a79a35d3401f38

commit 06a079c69e843a796c5956b8e9a79a35d3401f38
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-10-12 10:06:32 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-10-19 07:55:48 +0000

    pw: exit with an error in case of using an illegal option

    PR:             263188
    Reported by:    Dennis Clarke <dclarke@blastwave.org>
    MFC After:      1 week

    (cherry picked from commit c0358afd5bbc2c675941fed2905479ad109770bb)

 usr.sbin/pw/pw_group.c | 10 ++++++++++
 usr.sbin/pw/pw_user.c  | 14 ++++++++++++++
 2 files changed, 24 insertions(+)

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