Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103014494
D34629.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
412 B
Referenced Files
None
Subscribers
None
D34629.diff
View Options
diff --git a/sys/dev/stge/if_stge.c b/sys/dev/stge/if_stge.c
--- a/sys/dev/stge/if_stge.c
+++ b/sys/dev/stge/if_stge.c
@@ -699,7 +699,9 @@
bus_teardown_intr(dev, sc->sc_res[1], sc->sc_ih);
sc->sc_ih = NULL;
}
- bus_release_resources(dev, sc->sc_spec, sc->sc_res);
+
+ if (sc->sc_spec)
+ bus_release_resources(dev, sc->sc_spec, sc->sc_res);
mtx_destroy(&sc->sc_mii_mtx);
mtx_destroy(&sc->sc_mtx);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 8:29 PM (21 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14746592
Default Alt Text
D34629.diff (412 B)
Attached To
Mode
D34629: [PATCH] stge: fix null pointer dereference
Attached
Detach File
Event Timeline
Log In to Comment