Page MenuHomeFreeBSD

D7931.id20501.diff
No OneTemporary

D7931.id20501.diff

Index: head/sys/dev/iwm/if_iwm.c
===================================================================
--- head/sys/dev/iwm/if_iwm.c
+++ head/sys/dev/iwm/if_iwm.c
@@ -739,7 +739,7 @@
}
capa = (const struct iwm_ucode_capa *)tlv_data;
idx = le32toh(capa->api_index);
- if (idx > howmany(IWM_NUM_UCODE_TLV_CAPA, 32)) {
+ if (idx >= howmany(IWM_NUM_UCODE_TLV_CAPA, 32)) {
device_printf(sc->sc_dev,
"unsupported API index %d\n", idx);
goto parse_out;

File Metadata

Mime Type
text/plain
Expires
Sun, Sep 13, 9:22 AM (4 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38846263
Default Alt Text
D7931.id20501.diff (479 B)

Event Timeline