Re: [Qemu-devel] [PATCH 0/2] linux-user: Fix length handling in cmsg conversions

2015-06-06 Thread Riku Voipio
On Jun 5, 2015 6:03 PM, Peter Maydell wrote: > > Ping? I'll collect and review linux-user patches from the list on monday. Riku > > thanks > -- PMM > > On 26 May 2015 at 19:46, Peter Maydell wrote: > > This patchset fixes some problems in conversions of cmsg structures > > in target_to_ho

Re: [Qemu-devel] [PATCH 0/2] linux-user: Fix length handling in cmsg conversions

2015-06-05 Thread Peter Maydell
Ping? thanks -- PMM On 26 May 2015 at 19:46, Peter Maydell wrote: > This patchset fixes some problems in conversions of cmsg structures > in target_to_host_cmsg() (used in send/recvmsg handling). Specifically: > > * we required the msg->msg_controllen to declare the buffer >to have

[Qemu-devel] [PATCH 0/2] linux-user: Fix length handling in cmsg conversions

2015-05-26 Thread Peter Maydell
This patchset fixes some problems in conversions of cmsg structures in target_to_host_cmsg() (used in send/recvmsg handling). Specifically: * we required the msg->msg_controllen to declare the buffer to have enough space for final trailing padding (we were checking against CMSG_