mirror of
https://github.com/ipxe/ipxe.git
synced 2026-05-05 12:26:37 +02:00
[w89c840] Avoid potential array overrun
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
ad725fa7d9
commit
99e1207a4d
@ -247,7 +247,7 @@ static struct winbond_private
|
||||
/* MII transceiver section. */
|
||||
int mii_cnt; /* MII device addresses. */
|
||||
u16 advertising; /* NWay media advertisement */
|
||||
unsigned char phys[2]; /* MII device addresses. */
|
||||
unsigned char phys[4]; /* MII device addresses. */
|
||||
} w840private __attribute__ ((aligned (PRIV_ALIGN_BYTES)));
|
||||
|
||||
/* NIC specific static variables go here */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user