public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nss/27832] New: makedb.c:797:7: error: 'writev' specified size 4294967295 exceeds maximum object size 2147483647
@ 2021-05-08 12:51 danglin at gcc dot gnu.org
2021-05-10 16:04 ` [Bug nss/27832] " schwab@linux-m68k.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: danglin at gcc dot gnu.org @ 2021-05-08 12:51 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27832
Bug ID: 27832
Summary: makedb.c:797:7: error: 'writev' specified size
4294967295 exceeds maximum object size 2147483647
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: nss
Assignee: unassigned at sourceware dot org
Reporter: danglin at gcc dot gnu.org
Target Milestone: ---
gcc makedb.c -c -std=gnu11 -fgnu89-inline -g -O2 -Wall -Wwrite-strings -Wundef
-Werror -fmerge-all-constants -frounding-math -fno-stack-protector
-Wstrict-prot
otypes -Wold-style-definition -fmath-errno -I../include
-I/home/dave/
gnu/glibc/objdir/nss -I/home/dave/gnu/glibc/objdir
-I../sysdeps/unix/sysv/linu
x/hppa -I../sysdeps/hppa/nptl -I../sysdeps/unix/sysv/linux/include
-I../sysdep
s/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu
-I
../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix
-I../sysdeps/po
six -I../sysdeps/hppa/hppa1.1 -I../sysdeps/wordsize-32
-I../sysdeps/ieee754/f
lt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/hppa/fpu -I../sysdeps/hppa
-I
../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc
-isystem
/usr/lib/gcc/hppa-linux-gnu/10/include -isystem /usr/include -D_LIBC_REENTRANT
-include /home/dave/gnu/glibc/objdir/libc-modules.h -DMODULE_NAME=nonlib
-includ
e ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -o
/home/dave/gnu/glibc/
objdir/nss/makedb.o -MD -MP -MF /home/dave/gnu/glibc/objdir/nss/makedb.o.dt -MT
/home/dave/gnu/glibc/objdir/nss/makedb.o
makedb.c: In function 'write_output':
makedb.c:797:7: error: 'writev' specified size 4294967295 exceeds maximum
object size 2147483647 [-Werror=stringop-overflow=]
797 | if (writev (fd, iov, iov_nelts) != keydataoffset)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/sys/uio.h:2,
from makedb.c:39:
../misc/sys/uio.h:52:16: note: in a call to function 'writev' declared with
attribute 'read_only (2, 3)'
52 | extern ssize_t writev (int __fd, const struct iovec *__iovec, int
__count)
| ^~~~~~
cc1: all warnings being treated as errors
make[2]: *** [../o-iterator.mk:9: /home/dave/gnu/glibc/objdir/nss/makedb.o]
Error 1
make[2]: Leaving directory '/home/dave/gnu/glibc/glibc/nss'
Build on 2021-05-05 was okay.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug nss/27832] makedb.c:797:7: error: 'writev' specified size 4294967295 exceeds maximum object size 2147483647
2021-05-08 12:51 [Bug nss/27832] New: makedb.c:797:7: error: 'writev' specified size 4294967295 exceeds maximum object size 2147483647 danglin at gcc dot gnu.org
@ 2021-05-10 16:04 ` schwab@linux-m68k.org
2021-05-10 20:33 ` msebor at redhat dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2021-05-10 16:04 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27832
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|unspecified |2.34
CC| |msebor at redhat dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug nss/27832] makedb.c:797:7: error: 'writev' specified size 4294967295 exceeds maximum object size 2147483647
2021-05-08 12:51 [Bug nss/27832] New: makedb.c:797:7: error: 'writev' specified size 4294967295 exceeds maximum object size 2147483647 danglin at gcc dot gnu.org
2021-05-10 16:04 ` [Bug nss/27832] " schwab@linux-m68k.org
@ 2021-05-10 20:33 ` msebor at redhat dot com
2021-05-11 7:43 ` fweimer at redhat dot com
2021-05-13 0:09 ` msebor at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: msebor at redhat dot com @ 2021-05-10 20:33 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27832
Martin Sebor <msebor at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Assignee|unassigned at sourceware dot org |msebor at redhat dot com
Resolution|--- |FIXED
--- Comment #1 from Martin Sebor <msebor at redhat dot com> ---
Fixed in https://sourceware.org/pipermail/glibc-cvs/2021q2/073078.html.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug nss/27832] makedb.c:797:7: error: 'writev' specified size 4294967295 exceeds maximum object size 2147483647
2021-05-08 12:51 [Bug nss/27832] New: makedb.c:797:7: error: 'writev' specified size 4294967295 exceeds maximum object size 2147483647 danglin at gcc dot gnu.org
2021-05-10 16:04 ` [Bug nss/27832] " schwab@linux-m68k.org
2021-05-10 20:33 ` msebor at redhat dot com
@ 2021-05-11 7:43 ` fweimer at redhat dot com
2021-05-13 0:09 ` msebor at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2021-05-11 7:43 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27832
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fweimer at redhat dot com
Target Milestone|--- |2.34
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug nss/27832] makedb.c:797:7: error: 'writev' specified size 4294967295 exceeds maximum object size 2147483647
2021-05-08 12:51 [Bug nss/27832] New: makedb.c:797:7: error: 'writev' specified size 4294967295 exceeds maximum object size 2147483647 danglin at gcc dot gnu.org
` (2 preceding siblings ...)
2021-05-11 7:43 ` fweimer at redhat dot com
@ 2021-05-13 0:09 ` msebor at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: msebor at redhat dot com @ 2021-05-13 0:09 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27832
Martin Sebor <msebor at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=100571
--- Comment #2 from Martin Sebor <msebor at redhat dot com> ---
The corresponding GCC 10 bug is:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100571
--
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:[~2021-05-13 0:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-08 12:51 [Bug nss/27832] New: makedb.c:797:7: error: 'writev' specified size 4294967295 exceeds maximum object size 2147483647 danglin at gcc dot gnu.org
2021-05-10 16:04 ` [Bug nss/27832] " schwab@linux-m68k.org
2021-05-10 20:33 ` msebor at redhat dot com
2021-05-11 7:43 ` fweimer at redhat dot com
2021-05-13 0:09 ` msebor at redhat dot com
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).