This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nss/18991] nss_files skips large entry in database


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]