Bug 281156 - [PATCH] mfiutil: Fix incorrect accesses of an union member in 'struct mfi_evt_detail'
Summary: [PATCH] mfiutil: Fix incorrect accesses of an union member in 'struct mfi_evt...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 15.0-CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL: https://sourceforge.net/p/mfiutil/cod...
Keywords:
Depends on: 281155
Blocks:
  Show dependency treegraph
 
Reported: 2024-08-31 10:22 UTC by WHR
Modified: 2024-09-20 22:40 UTC (History)
0 users

See Also:


Attachments
proposed fix (2.05 KB, patch)
2024-08-31 10:22 UTC, WHR
no flags Details | Diff
proposed fix (2.05 KB, patch)
2024-08-31 11:20 UTC, WHR
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description WHR 2024-08-31 10:22:29 UTC
Created attachment 253203 [details]
proposed fix

This patch requires bug #281155 be fixed.
Comment 1 WHR 2024-08-31 11:20:58 UTC
Created attachment 253211 [details]
proposed fix
Comment 2 WHR 2024-09-03 05:25:46 UTC
Included in https://github.com/freebsd/freebsd-src/pull/1402/
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-09-20 22:40:40 UTC
A commit in branch main references this bug:

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

commit c6ad7dcd9c44a49078841e9ec42bf8621ae312c7
Author:     WHR <whr@rivoreo.one>
AuthorDate: 2024-09-03 04:44:48 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-09-20 22:22:44 +0000

    mfiutil: Fix incorrect accesses of an union member in 'struct mfi_evt_detail'

    PR: 281156
    Reviewed by: imp, delphij
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1402

 usr.sbin/mfiutil/mfi_evt.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)