Re: [PATCH v2] softmmu: Use memmove in flatview_write_continue

2023-02-23 Thread Richard Henderson
On 1/30/23 17:01, Akihiko Odaki wrote: We found a case where the source passed to flatview_write_continue() may overlap with the destination when fuzzing igb, a new proposed network device with sanitizers. igb uses pci_dma_map() to get Tx packet, and pci_dma_write() to write Rx buffer. While pci

Re: [PATCH v2] softmmu: Use memmove in flatview_write_continue

2023-01-31 Thread David Hildenbrand
On 31.01.23 04:01, Akihiko Odaki wrote: We found a case where the source passed to flatview_write_continue() may overlap with the destination when fuzzing igb, a new proposed network device with sanitizers. igb uses pci_dma_map() to get Tx packet, and pci_dma_write() to write Rx buffer. While pc

[PATCH v2] softmmu: Use memmove in flatview_write_continue

2023-01-30 Thread Akihiko Odaki
We found a case where the source passed to flatview_write_continue() may overlap with the destination when fuzzing igb, a new proposed network device with sanitizers. igb uses pci_dma_map() to get Tx packet, and pci_dma_write() to write Rx buffer. While pci_dma_write() is usually used to write dat