Page MenuHomeFreeBSD

D47314.diff
No OneTemporary

D47314.diff

Index: sys/net/if_media.c
===================================================================
--- sys/net/if_media.c
+++ sys/net/if_media.c
@@ -278,7 +278,7 @@
struct ifmedia_entry *ep;
int i;
- if (ifmr->ifm_count < 0)
+ if (ifmr->ifm_count < 0 || ifm->ifm_status == NULL)
return (EINVAL);
if (cmd == SIOCGIFMEDIA) {

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 21, 8:11 PM (13 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27818359
Default Alt Text
D47314.diff (337 B)

Event Timeline