This is the mail archive of the libc-alpha@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]

Re: [PATCH] nss_files: Fix re-reading of long lines [BZ #18991]


Florian Weimer <fweimer@redhat.com> writes:
> I think I found a way to salvage this approach.  If parse_line fails
> with ERANGE, we need to seek back to the start of the line.  We can do
> this because we know the exact length of the line in bytes at this point.

LGTM


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