Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177900147
D61950.1795548007.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
348 B
Referenced Files
None
Subscribers
None
D61950.1795548007.diff
View Options
diff --git a/sys/dev/bnxt/bnxt_en/if_bnxt.c b/sys/dev/bnxt/bnxt_en/if_bnxt.c
--- a/sys/dev/bnxt/bnxt_en/if_bnxt.c
+++ b/sys/dev/bnxt/bnxt_en/if_bnxt.c
@@ -4042,7 +4042,7 @@
{
uint8_t *mta = arg;
- if (cnt == BNXT_MAX_MC_ADDRS)
+ if (cnt >= BNXT_MAX_MC_ADDRS)
return (1);
bcopy(LLADDR(sdl), &mta[cnt * ETHER_ADDR_LEN], ETHER_ADDR_LEN);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 24, 7:20 PM (5 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41958766
Default Alt Text
D61950.1795548007.diff (348 B)
Attached To
Mode
D61950: bnxt: fix an out-of-bounds write in bnxt_copy_maddr()
Attached
Detach File
Event Timeline