Re: [PATCH v2] hw/acpi/erst.c: Fix memory handling issues

2022-10-24 Thread Alexander Bulekov
On 221024 1224, Alexander Bulekov wrote: > On 221024 1742, Christian A. Ehrhardt wrote: > > - Fix memset argument order: The second argument is > > the value, the length goes last. > > - Fix an integer overflow reported by Alexander Bulekov. > > > > Both issues allow the guest to overrun the hos

Re: [PATCH v2] hw/acpi/erst.c: Fix memory handling issues

2022-10-24 Thread Eric DeVolder
On 10/24/22 10:42, Christian A. Ehrhardt wrote: - Fix memset argument order: The second argument is the value, the length goes last. - Fix an integer overflow reported by Alexander Bulekov. Both issues allow the guest to overrun the host buffer allocated for the ERST memory device. Cc: Er

Re: [PATCH v2] hw/acpi/erst.c: Fix memory handling issues

2022-10-24 Thread Michael S. Tsirkin
On Mon, Oct 24, 2022 at 05:42:33PM +0200, Christian A. Ehrhardt wrote: > - Fix memset argument order: The second argument is > the value, the length goes last. > - Fix an integer overflow reported by Alexander Bulekov. > > Both issues allow the guest to overrun the host buffer > allocated for th

Re: [PATCH v2] hw/acpi/erst.c: Fix memory handling issues

2022-10-24 Thread Alexander Bulekov
On 221024 1742, Christian A. Ehrhardt wrote: > - Fix memset argument order: The second argument is > the value, the length goes last. > - Fix an integer overflow reported by Alexander Bulekov. > > Both issues allow the guest to overrun the host buffer > allocated for the ERST memory device. > >

[PATCH v2] hw/acpi/erst.c: Fix memory handling issues

2022-10-24 Thread Christian A. Ehrhardt
- Fix memset argument order: The second argument is the value, the length goes last. - Fix an integer overflow reported by Alexander Bulekov. Both issues allow the guest to overrun the host buffer allocated for the ERST memory device. Cc: Eric DeVolder Cc: qemu-sta...@nongnu.org Fixes: f7e26ff