> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com]
> Sent: Thursday, 4 April 2024 19.15
>
> RFC sample illustrating conversion of VLA to alloca() where
> sizeof(array) was in use.
>
> Signed-off-by: Tyler Retzlaff
> ---
> lib/vhost/socket.c | 5 +++--
> 1 file changed, 3 insertions(+)
RFC sample illustrating conversion of VLA to alloca() where
sizeof(array) was in use.
Signed-off-by: Tyler Retzlaff
---
lib/vhost/socket.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/vhost/socket.c b/lib/vhost/socket.c
index 96b3ab5..cedcfb2 100644
--- a/lib/vhos
2 matches
Mail list logo