public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/29578] New: Definition of SUN_LEN() is wrong
@ 2022-09-16 23:30 bart.vanassche at gmail dot com
  2022-09-17  6:47 ` [Bug libc/29578] " schwab@linux-m68k.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bart.vanassche at gmail dot com @ 2022-09-16 23:30 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29578

            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= 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 ("update
from main archive 961229").

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-10  7:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-16 23:30 [Bug libc/29578] New: Definition of SUN_LEN() is wrong bart.vanassche at gmail dot com
2022-09-17  6:47 ` [Bug libc/29578] " schwab@linux-m68k.org
2022-09-17 23:48 ` bart.vanassche at gmail dot com
2022-09-18 11:27 ` schwab@linux-m68k.org
2022-10-10  7:35 ` schwab@linux-m68k.org

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).