From nobody Tue Sep 3 05:48:46 2024 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 4WyZRz0fmZz5W0LQ for ; Tue, 03 Sep 2024 05:48:47 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WyZRy5WJyz4Lc6 for ; Tue, 3 Sep 2024 05:48:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725342526; a=rsa-sha256; cv=none; b=GpcjtJuNyqxUXmck/JITxgfPYov9GTs3bELI1GutAiNMiP87TjYWOmM8L6LsIpf7ijiC+V NSPhQce7j8bqVxLv3XHhm0aIi/cBN55PQoSrhLT/mDswZSQMjw1iZQwIm00XXgXOcUUtDk 5b7Atx4/fX6vseC323nKoGMJNwYve8zcCE6PawDTxd0H/Wi8MloQY+KqJUxURY7/+dqt+r urT5SF1hy9AnQXTD5p0aa6XLipL3M6ESW75ZPKfONUWrnp/SxKSp8oUpI+Sj2DHHUFytUh 1Sz7E+AZAjo+dm6rvUNnl/ciuTCdBGqYCv0ygAIBy6MZBnu7bEoyCRby5ZfS+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725342526; 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=PYg5HGtH+eUhIpREQvN1cJe/YPsWLqD3N+srd/Wf6DQ=; b=rlwWelMmLloAPJ0Y33RdzUTasx7eJXfoczN0H3XWupJXJnMjqPkt3f9FzkSD1A4ywz4UK2 AjrUgNJNabi49B/dxDnfng0ZmS8nh6CvjpL0DCL2LHyZITrrYizr5t64BNj09OpauPzneW i+ww65gV0gZPvN3cw3VXMQrHb2g9BS7nwsRGakOmpL2uvNGw8jyBIG9s5do+eS2ZBV5IuN IBJy2/aoWPyvZa/VgCDt6OeOtb4fymNmMvTxHg+qfGYoXPDRtZPhbklcHyUcSZ555jFh+L RmglE97P4m6EIdyiJ4VpHdxzdI7zTEC03JOBpD0oOJcQaav9L8NxAdLZSm2KAg== 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 4WyZRy546WzSkG for ; Tue, 3 Sep 2024 05:48:46 +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 4835mk9j005717 for ; Tue, 3 Sep 2024 05:48:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4835mkih005714 for bugs@FreeBSD.org; Tue, 3 Sep 2024 05:48:46 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 281158] [PATCH] mfiutil: Handle potential ioctl(2) failures in mfi_flash.c Date: Tue, 03 Sep 2024 05:48:46 +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: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281158 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dbac98f86c98421f6153c749b6c77995ef= 778e2fb commit bac98f86c98421f6153c749b6c77995ef778e2fb Author: WHR AuthorDate: 2024-09-03 05:12:20 +0000 Commit: Xin LI CommitDate: 2024-09-03 05:46:51 +0000 mfiutil: Handle potential ioctl(2) failures in mfi_flash.c The return value of function 'mfi_dcmd_command' should always be checked for the potential ioctl(2) failure. PR: 281158 MFC after: 1 week Pull Request: https://github.com/freebsd/freebsd-src/pull/1403 usr.sbin/mfiutil/mfi_flash.c | 39 ++++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 11 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=