Re: [Qemu-devel] [PATCH 3/4] alloca one extra byte sockets

2014-07-15 Thread Riku Voipio
On Fri, Jul 11, 2014 at 05:18:03PM +0200, Joakim Tjernlund wrote: > target_to_host_sockaddr() may increase the lenth with 1 byte > for AF_UNIX sockets so allocate 1 extra byte. Thanks, applied to linux-user tree > Signed-off-by: Joakim Tjernlund > --- > linux-user/syscall.c | 6 +++--- > 1 file

Re: [Qemu-devel] [PATCH 3/4] alloca one extra byte sockets

2014-07-11 Thread Peter Maydell
On 11 July 2014 16:18, Joakim Tjernlund wrote: > target_to_host_sockaddr() may increase the lenth with 1 byte > for AF_UNIX sockets so allocate 1 extra byte. > > Signed-off-by: Joakim Tjernlund > --- > linux-user/syscall.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --

[Qemu-devel] [PATCH 3/4] alloca one extra byte sockets

2014-07-11 Thread Joakim Tjernlund
target_to_host_sockaddr() may increase the lenth with 1 byte for AF_UNIX sockets so allocate 1 extra byte. Signed-off-by: Joakim Tjernlund --- linux-user/syscall.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index a0e1ccc.