This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nss/18991] nss_files skips large entry in database
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 01 Sep 2017 18:12:52 +0000
- Subject: [Bug nss/18991] nss_files skips large entry in database
- Auto-submitted: auto-generated
- References: <bug-18991-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18991
--- Comment #6 from Florian Weimer <fweimer at redhat dot com> ---
The posted patch does not work because it eliminates only one source of line
skipping (insufficient read buffer size). We still skip a line if it turns out
we cannot enlarge the pointer array during line parsing (or any other reason
why parsing might need more data from the buffer).
Back to the drawing board. I think we either have to use getline (which
requires additional copying) and preserve the line buffer across getent_r
invocations, or optimize ftello so that we can use it.
--
You are receiving this mail because:
You are on the CC list for the bug.