From nobody Wed Oct 19 08:01:55 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Msjqm3LtMz4gDjp for ; Wed, 19 Oct 2022 08:01:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Msjqm1ZpHz41dW for ; Wed, 19 Oct 2022 08:01:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Msjqm0hpjzSTg for ; Wed, 19 Oct 2022 08:01:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29J81uYS029722 for ; Wed, 19 Oct 2022 08:01:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29J81ue5029721 for bugs@FreeBSD.org; Wed, 19 Oct 2022 08:01:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263188] pw accepts an "illegal option" but completes the command without error Date: Wed, 19 Oct 2022 08:01:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: mfc-stable13+ mfc-stable12+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666166516; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ffoZN4YgG85EVEDbotTeJuTN4AsSK3iz2xphvHGnveQ=; b=fLKx6sFXe1njdd9JB4f8+ZdsbXX8RJs/KbpuI3FDauLO1WMS7Ze/u40U+IBUpcaZwoOS6Y p1g5adXYpx5JnaCOrIUY3UYE6PmABLLiDjnRaB+3EFnLC5jOWZZWDcjqItBFygloQ5d/ZW 2Dlzvf1CCecSAvCcPGGdwQ7moaAq3kDvjHz6Wsmg7VVhZaxIu8WzOCl7nqXREhIYGdy8GN 3pIrqWV0u0lHKIYG5puS5lTXF2rBdYP4JWPl156yH/uGgfQyzWfb9yMGipjpXh27wcpHvV Qoge7Ch53QmFMhqS93IXPSnC/wshISHtS6mMXOGQ0Z87KUpCu6+ySQ1SR97jUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666166516; a=rsa-sha256; cv=none; b=AkQVGiwp16MVMMVKBV1+iQ1wRTfu5BUIDvzLaLS6+xObzKnWwLPN5lQZ4dwhj4TT1AtcsL i8Pxu2G93vb18PbLaRPe5KtjCxAj0b4YX82xQIGvlN6dJ8ycgzyHTISISDgb6vWMuQyMRU guwzLbbhph2tsb9AHEKC3XEXPTHwNwbxl/0zzhEx3B8FKNi1wyDHBywPu6XTlFmVj4lqRY ll1Y8OtjqzLT/tTdH2Pbv1Wl1wR6FmwjCDIcTqLrXSOg5zLQGHy9ko+CTZs82Tqq2P4cgI t1qmWd9g+JvzXkE8n0/pX6lOCvFrMZuCN7frMmzIAeQIe2tcQyOVKJf5uAggZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263188 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D06a079c69e843a796c5956b8e9a79a35d= 3401f38 commit 06a079c69e843a796c5956b8e9a79a35d3401f38 Author: Baptiste Daroussin AuthorDate: 2022-10-12 10:06:32 +0000 Commit: Baptiste Daroussin 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 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(+) --=20 You are receiving this mail because: You are the assignee for the bug.=