This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos 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: redboot http client fix


On Fri, 2004-08-13 at 06:13, Jani Monoses wrote:
> Hello
> 
> if the HTTP response header is not immediately followed by the file contents
> (read in the same buffer by redboot) so the CRLF CRLF ending is the last thing
> in the buffer, those 4 bytes are skipped and are instead read as the file
> sinature instead of .ELF.
> So the check should be extended to work even if there are exactly 4 bytes.
> It does not appear with 'normal' webservers, however I used a script to talk
> to redboot and it triggered this behaviour many times.
> 
> I'll commit if it's approved.

Looks safe enough - go ahead.  Be sure and explain why in the ChangeLog

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


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