Re: [Qemu-devel] [PATCH] linux-user: Fix payload size logic in host_to_target_cmsg()

2018-05-18 Thread Laurent Vivier
Le 18/05/2018 à 20:47, Peter Maydell a écrit : > Coverity points out that there's a missing break in the switch in > host_to_target_cmsg() where we update tgt_len for > cmsg_level/cmsg_type combinations which require a different length > for host and target (CID 1385425). To avoid duplicating the

[Qemu-devel] [PATCH] linux-user: Fix payload size logic in host_to_target_cmsg()

2018-05-18 Thread Peter Maydell
Coverity points out that there's a missing break in the switch in host_to_target_cmsg() where we update tgt_len for cmsg_level/cmsg_type combinations which require a different length for host and target (CID 1385425). To avoid duplicating the default case (target length same as host) in both