summary refs log tree commit diff stats
path: root/results/classifier/deepseek-2-tmp/reasoning/socket/1781280
blob: 87c9fbac61296ec4ed0b569e44f326ee714a1dcc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
<think>
Okay, so I'm trying to classify this bug report for QEMU. Let me read through it carefully.

The user is reporting that when sending multiple control messages over a Unix socket in QEMU, only the first one is received. They mention using a test program with SCM_CREDENTIALS and SCM_RIGHTS. On native systems, both are received, but not in QEMU.

They traced this to a glibc bug, specifically related to uninitialized buffers causing CMSG_NXTHDR to return NULL incorrectly. The issue arises because QEMU's `target_to_host_cmsg` stops encoding as soon as either buffer ends, which leads to losing target messages if the host buffer runs out first. They suggest adding an assertion and provided a patch that zeros the buffer.

Looking at the categories: device, graphic, socket, network... This seems related to socket operations because it's about sending control messages over Unix sockets. The problem occurs during communication via sockets within QEMU. So the category would be 'socket'.
</think>

socket