Re: [PATCH] hw/net/smc91c111: Don't allow data register access to overrun buffer

2025-03-11 Thread Philippe Mathieu-Daudé
On 28/2/25 20:16, Peter Maydell wrote: For accesses to the 91c111 data register, the address within the packet's data frame is determined by a combination of the pointer register and the offset used to access the data register, so that you can access data at effectively wider than byte width. Th

Re: [PATCH] hw/net/smc91c111: Don't allow data register access to overrun buffer

2025-03-09 Thread Philippe Mathieu-Daudé
On 28/2/25 20:16, Peter Maydell wrote: For accesses to the 91c111 data register, the address within the packet's data frame is determined by a combination of the pointer register and the offset used to access the data register, so that you can access data at effectively wider than byte width. Th

[PATCH] hw/net/smc91c111: Don't allow data register access to overrun buffer

2025-02-28 Thread Peter Maydell
For accesses to the 91c111 data register, the address within the packet's data frame is determined by a combination of the pointer register and the offset used to access the data register, so that you can access data at effectively wider than byte width. The pointer register's pointer field is 11