Date: Thu, 01 Feb 2024 21:36:26 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276770] Some potential NULL-pointer dereferences Message-ID: <bug-276770-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276770 Bug ID: 276770 Summary: Some potential NULL-pointer dereferences Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: w290680224@gmail.com Attachment #248120 text/plain mime type: Created attachment 248120 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248120&action= =3Dedit The potential NULL dereferences We utilized a static analyzer to detect instances of omitted NULL checks in certain resource allocation functions within the Kernel. The attached docum= ent enumerates these occurrences, which could potentially lead to NULL pointer dereferences. The document is organized as follows: the first column lists = the allocation functions that might return a NULL pointer under certain conditi= ons; the second column specifies the exact locations (file +line_number) where t= hese allocation functions are invoked without appropriate NULL checks, creating a risk of NULL pointer dereference; and the third column pinpoints the specif= ic line of source code. --=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>