[Bug 276770] Some potential NULL-pointer dereferences
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 276770] Some potential NULL-pointer dereferences"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Feb 2024 19:57:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276770
--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=eb86c6c5b462c996e44c45ba496937b75ef22da3
commit eb86c6c5b462c996e44c45ba496937b75ef22da3
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-02-09 19:53:43 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-02-09 19: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>
sys/cam/cam_xpt.c | 2 ++
1 file changed, 2 insertions(+)
--
You are receiving this mail because:
You are the assignee for the bug.