Re: [PATCH 05/16] hw/uefi: add var-service-core.c

2023-12-08 Thread Laszlo Ersek
On 11/22/23 17:30, Gerd Hoffmann wrote: > Hi, > >> - in general, we should filter out surrogate code points, for any use. >> any UCS2 string from the guest that contains a surrogate code point >> should be considered invalid, and the request should be rejected based >> just on that. > > Somethi

Re: [PATCH 05/16] hw/uefi: add var-service-core.c

2023-11-22 Thread Gerd Hoffmann
Hi, > - in general, we should filter out surrogate code points, for any use. > any UCS2 string from the guest that contains a surrogate code point > should be considered invalid, and the request should be rejected based > just on that. Something like this? edk2 seems to be inconsistent with st

Re: [PATCH 05/16] hw/uefi: add var-service-core.c

2023-11-22 Thread Laszlo Ersek
On 11/15/23 16:12, Gerd Hoffmann wrote: > This is the core code for guest <-> host communication. This accepts > request messages from the guest, dispatches them to the service called, > and sends back the response message. > > Signed-off-by: Gerd Hoffmann > --- > hw/uefi/var-service-core.c | 3

[PATCH 05/16] hw/uefi: add var-service-core.c

2023-11-15 Thread Gerd Hoffmann
This is the core code for guest <-> host communication. This accepts request messages from the guest, dispatches them to the service called, and sends back the response message. Signed-off-by: Gerd Hoffmann --- hw/uefi/var-service-core.c | 350 + 1 file chang