public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "samuel dot thibault at ens-lyon dot org" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sources.redhat.com Subject: [Bug hurd/1254] getpeername(fd,NULL,&len) crashes even if len==0 Date: Mon, 17 Oct 2005 22:57:00 -0000 [thread overview] Message-ID: <20051017225728.2953.qmail@sourceware.org> (raw) In-Reply-To: <20050826230859.1254.tschwinge@gnu.org> ------- Additional Comments From samuel dot thibault at ens-lyon dot org 2005-10-17 22:57 ------- Hi, It doesn't work, because the af_family is not the first of the structure (there is af_len too), so that in getpeername(fd,NULL, 0), *len - offsetof(struct sockaddr, sa_family) becomes negative. -- http://sourceware.org/bugzilla/show_bug.cgi?id=1254 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
next prev parent reply other threads:[~2005-10-17 22:57 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <20050826230859.1254.tschwinge@gnu.org> 2005-10-16 10:09 ` cvs-commit at gcc dot gnu dot org 2005-10-16 10:10 ` roland at gnu dot org 2005-10-17 22:57 ` samuel dot thibault at ens-lyon dot org [this message] 2005-10-17 22:59 ` samuel dot thibault at ens-lyon dot org 2005-10-17 23:00 ` samuel dot thibault at ens-lyon dot org 2005-10-18 18:25 ` samuel dot thibault at ens-lyon dot org 2005-10-23 0:46 ` cvs-commit at gcc dot gnu dot org 2005-10-23 0:53 ` cvs-commit at gcc dot gnu dot org 2005-10-23 0:57 ` roland at gnu dot org 2005-10-23 1:01 ` roland at gnu dot org 2005-10-23 22:11 ` samuel dot thibault at ens-lyon dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20051017225728.2953.qmail@sourceware.org \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sources.redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).