FreeBSD Bugzilla – Attachment 161639 Details for
Bug 203499
KASSERT for non-NULL in g_uzip.c after value is dereferenced
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to correct error
g_uzip.c.patch (text/plain), 619 bytes, created by
chadf
on 2015-10-02 03:20:33 UTC
(
hide
)
Description:
Patch to correct error
Filename:
MIME Type:
Creator:
chadf
Created:
2015-10-02 03:20:33 UTC
Size:
619 bytes
patch
obsolete
>Index: sys/geom/uzip/g_uzip.c >=================================================================== >--- sys/geom/uzip/g_uzip.c (revision 288471) >+++ sys/geom/uzip/g_uzip.c (working copy) >@@ -546,12 +546,12 @@ > g_trace(G_T_TOPOLOGY, "%s(%s, %s)", __func__, mp->name, gp->name); > g_topology_assert(); > >+ KASSERT(gp != NULL, ("NULL geom")); > if (gp->softc == NULL) { > DPRINTF(("%s(%s): gp->softc == NULL\n", __func__, gp->name)); > return (ENXIO); > } > >- KASSERT(gp != NULL, ("NULL geom")); > pp = LIST_FIRST(&gp->provider); > KASSERT(pp != NULL, ("NULL provider")); > if (pp->acr > 0 || pp->acw > 0 || pp->ace > 0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203499
: 161639