Re: [PATCH] tests/vhost-user-bridge.c: Sanity check socket path length

2021-09-01 Thread Marc-André Lureau
On Wed, Sep 1, 2021 at 8:36 PM Peter Maydell wrote: > The vhost-user-bridge binary accepts a UNIX socket path on > the command line. Sanity check that this is short enough to > fit into a sockaddr_un before copying it in. > > Fixes: Coverity CID 1432866 > Signed-off-by: Peter Maydell > Reviewed

[PATCH] tests/vhost-user-bridge.c: Sanity check socket path length

2021-09-01 Thread Peter Maydell
The vhost-user-bridge binary accepts a UNIX socket path on the command line. Sanity check that this is short enough to fit into a sockaddr_un before copying it in. Fixes: Coverity CID 1432866 Signed-off-by: Peter Maydell --- tests/vhost-user-bridge.c | 5 + 1 file changed, 5 insertions(+) d