This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug hurd/20444] New: recvmsg: PF_LOCAL sockets and msg_name lead to SIGLOST
- From: "christian+glibc at iwakd dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 05 Aug 2016 21:59:18 +0000
- Subject: [Bug hurd/20444] New: recvmsg: PF_LOCAL sockets and msg_name lead to SIGLOST
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20444
Bug ID: 20444
Summary: recvmsg: PF_LOCAL sockets and msg_name lead to SIGLOST
Product: glibc
Version: 2.23
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: hurd
Assignee: unassigned at sourceware dot org
Reporter: christian+glibc at iwakd dot de
CC: roland at gnu dot org, tschwinge at sourceware dot org
Target Milestone: ---
Created attachment 9426
--> https://sourceware.org/bugzilla/attachment.cgi?id=9426&action=edit
[PATCH] sysdeps/mach/hurd/recvmsg.c: don't try to resolve invalid address
When using recvmsg in combination with PF_LOCAL SOCK_STREAM sockets, and
msg_name and msg_namelen in the message parameter are non-NULL/zero, SIGLOST is
generated if a message is received. I had already reported this to the bug-hurd
mailing list, together with a simple reproducer:
https://lists.gnu.org/archive/html/bug-hurd/2016-08/msg00000.html
(This is problem 1 there; problem 2 I describe is a bug in Hurd's pflocal
server, as I've found out and reported.)
I've attached a simple patch that fixes the issue (tested on Debian GNU against
Debian's glibc 2.23, but the patch also applies against current git master).
--
You are receiving this mail because:
You are on the CC list for the bug.