From e84ed6057de36d9e2f3b7ade10db0bb303dc25cf Mon Sep 17 00:00:00 2001 From: Max Wash Date: Tue, 10 Mar 2026 19:08:20 +0000 Subject: [PATCH] channel: fix incorrect offset used in channel_write_msg --- kernel/channel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/channel.c b/kernel/channel.c index a8a022c..4fa349e 100644 --- a/kernel/channel.c +++ b/kernel/channel.c @@ -362,11 +362,11 @@ extern kern_status_t channel_write_msg( kern_status_t status = vm_region_memmove_v( dest_region, - 0, + offset, msg->msg_resp.msg_data, msg->msg_resp.msg_data_count, src_region, - offset, + 0, src_iov, src_iov_count, VM_REGION_COPY_ALL,