[Bug 1207229] New: glibc: CMSG_NXTHDR may trigger -Wstrict-overflow warning
https://bugzilla.suse.com/show_bug.cgi?id=1207229 Bug ID: 1207229 Summary: glibc: CMSG_NXTHDR may trigger -Wstrict-overflow warning Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: asn@cryptomilk.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- socket_wrapper failed to build from source on openSUSE This is actually a bug in /usr/include/bits/socket.h with -Werror=strict-overflow. The compiler complains about the CMSG_NXTHDR() macro. In file included from /usr/include/sys/socket.h:33, from /builddir/build/BUILD/socket_wrapper-1.3.3/src/socket_wrapper.c:50: In function '__cmsg_nxthdr', inlined from 'test_sendmsg_cmsg' at /builddir/build/BUILD/socket_wrapper-1.3.3/tests/test_swrap_unit.c:73:9: /usr/include/bits/socket.h:322:6: error: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Werror=strict-overflow] 322 | if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control | ^ See https://sourceware.org/bugzilla/show_bug.cgi?id=28846 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207229 Andreas Schneider <asn@cryptomilk.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asn@cryptomilk.org Assignee|screening-team-bugs@suse.de |schwab@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1207229 https://bugzilla.suse.com/show_bug.cgi?id=1207229#c1 Andreas Schwab <schwab@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |UPSTREAM --- Comment #1 from Andreas Schwab <schwab@suse.de> --- This is obsolete. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com