channel: fix incorrect offset used in channel_write_msg

This commit is contained in:
2026-03-10 19:08:20 +00:00
parent 1d4cb882a8
commit e84ed6057d

View File

@@ -362,11 +362,11 @@ extern kern_status_t channel_write_msg(
kern_status_t status = vm_region_memmove_v( kern_status_t status = vm_region_memmove_v(
dest_region, dest_region,
0, offset,
msg->msg_resp.msg_data, msg->msg_resp.msg_data,
msg->msg_resp.msg_data_count, msg->msg_resp.msg_data_count,
src_region, src_region,
offset, 0,
src_iov, src_iov,
src_iov_count, src_iov_count,
VM_REGION_COPY_ALL, VM_REGION_COPY_ALL,