Re: [PATCH v1] tee: sandbox: check for buffer size

2024-04-25 Thread Ilias Apalodimas
On Sun, Apr 21, 2024 at 10:48:39PM +0200, Igor Opaniuk wrote: > Add additional check for buffer size when reading out persistent > storage value and provide back actual value size. > > Signed-off-by: Igor Opaniuk > --- > > drivers/tee/sandbox.c | 10 +++--- > 1 file changed, 7 insertions(+),

Re: [PATCH v1] tee: sandbox: check for buffer size

2024-04-22 Thread Oleksandr Suvorov
On Sun, Apr 21, 2024 at 11:48 PM Igor Opaniuk wrote: > > Add additional check for buffer size when reading out persistent > storage value and provide back actual value size. > > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- > > drivers/tee/sandbox.c | 10 +++--- > 1

[PATCH v1] tee: sandbox: check for buffer size

2024-04-21 Thread Igor Opaniuk
Add additional check for buffer size when reading out persistent storage value and provide back actual value size. Signed-off-by: Igor Opaniuk --- drivers/tee/sandbox.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/tee/sandbox.c b/drivers/tee/sandbox.c