Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Apr 2024 19:05:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276770] Some potential NULL-pointer dereferences
Message-ID:  <bug-276770-227-5rGL3snRtk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276770-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276770-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276770

--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D7d763eadd36e9b9419379756add71f538=
3f40af0

commit 7d763eadd36e9b9419379756add71f5383f40af0
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-02-09 19:53:43 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-04-08 17:53:43 +0000

    cam: Check if cam_simq_alloc fails for the xpt bus during module init

    This is very unlikely to fail (and if it does, CAM isn't going to work
    regardless), but fail with an error rather than a gauranteed panic via
    NULL pointer dereference.

    PR:             276770
    Reported by:    Qiushi <w290680224@gmail.com>

    (cherry picked from commit eb86c6c5b462c996e44c45ba496937b75ef22da3)

 sys/cam/cam_xpt.c | 2 ++
 1 file changed, 2 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276770-227-5rGL3snRtk>