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][BZ #13601] Retry read in ld.so if the entire ELF header is not read in


On Friday 19 October 2012 10:44:44 Siddhesh Poyarekar wrote:
> Hi,
> 
> We currently assume that the operation to read in the DSO in
> open_verify always reads in the entire ELF header.  This assumption is
> wrong since the read syscall is free to return smaller chunks of data
> and we ought to continue reading if that happens.  Attached patch does
> exactly that.  I have verified that there are no regressions resulting
> from this patch on x86_64 F-16, but I don't have a way to verify that
> the split read works.  OK to commit?
> 
> Regards,
> Siddhesh
> 
> ChangeLog:
> 
> 	* elf/dl-load.c (open_verify): Retry read if the entire ELF
> 	header is not read in.

changelog entry should have [BZ #13601] (see other entries in the file for an 
example), and you need to update the fixed bug list in the NEWS file.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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