[Bug 281158] [PATCH] mfiutil: Handle potential ioctl(2) failures in mfi_flash.c

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 03 Sep 2024 05:48:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281158

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit bac98f86c98421f6153c749b6c77995ef778e2fb
Author:     WHR <whr@rivoreo.one>
AuthorDate: 2024-09-03 05:12:20 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
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(-)

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