From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 910A03858D32; Fri, 16 Sep 2022 23:30:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 910A03858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663371038; bh=Wd3eYErb5mW627/sJ3jGNGi/ilN2VNiFOvP2nd37NPQ=; h=From:To:Subject:Date:From; b=bkMdsgXm+IgXXSH8kcDODbOzJWbSV5cV2KX1qj/T9dxm3F3uhnAZa7+0pUCtmCAOo dK1JHcWK1sIsYchKJ2IcFDdrBVc8HI6+RR04WRaB44tPZlbSQnnYjc+pyC6hHC/4Hc Buqo3TALTYxUc/yuh3cvQc4Dq7H6fFzJ6/Au08UU= From: "bart.vanassche at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/29578] New: Definition of SUN_LEN() is wrong Date: Fri, 16 Sep 2022 23:30:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.38 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bart.vanassche at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29578 Bug ID: 29578 Summary: Definition of SUN_LEN() is wrong Product: glibc Version: 2.38 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: bart.vanassche at gmail dot com CC: drepper.fsp at gmail dot com Target Milestone: --- $ PAGER=3D git grep -A1 'define SUN_LEN' socket/sys/un.h:# define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path) \ socket/sys/un.h- + strlen ((ptr)->sun_path)) An ampersand (&) is missing after (size_t). The commit that introduced this incorrect definition is d38cd08ca397 ("upda= te from main archive 961229"). --=20 You are receiving this mail because: You are on the CC list for the bug.=