On [Wed, 28.02.2007 17:13], Kirill A. Shutemov wrote:
Patch in the attachment.
addrlen bytes should be allocated, not target_addrlen. It's typo I think.
diff --git a/qemu/linux-user/syscall.c b/qemu/linux-user/syscall.c
index f3f97b0..ccb0e52 100644
--- a/qemu/linux-user/syscall.c
+++
Patch in the attachment.
diff --git a/qemu/linux-user/syscall.c b/qemu/linux-user/syscall.c
index f3f97b0..ccb0e52 100644
--- a/qemu/linux-user/syscall.c
+++ b/qemu/linux-user/syscall.c
@@ -875,7 +875,7 @@ static long do_getsockname(int fd, target_ulong target_addr,