[Bug 238661] mpt: print req->index rather than the pointer itself in mpt.c

[email protected] Wed, 05 Feb 2025 00:48:33 +0000
Newsgroups gmane.os.freebsd.devel.scsi
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238661

--- Comment #2 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Dd9beef938ae7c3189e85e377468f83804=
de94712

commit d9beef938ae7c3189e85e377468f83804de94712
Author:     Fuqian Huang <[email protected]>
AuthorDate: 2019-06-17 10:29:56 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2025-02-05 00:47:21 +0000

    mpt: print req->index rather than the pointer itself in mpt.c

    Print req->index instead of printing the pointer itself to avoid kernel
    pointer leakage.

    PR: 238661
    Signed-off-by: Fuqian Huang <[email protected]>
    Reviewed-by: imp

 sys/dev/mpt/mpt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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