git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [Orinoco-users] linux-firmware binary corruption with gitweb

From
DDave <kilroyd@googlemail.com>
Date
Mar 3, 2009, 18:59 UTC
Message-ID
<49AD7E2B.3010101@gmail.com>
In-Reply-To
<1235886467.3195.15.camel@mj>
Adding the git mailing list.
Pavel Roskin wrote:
Show 25 quoted lines
> On Sat, 2009-02-28 at 19:24 +0000, Dave wrote:
>> I'm aware of at least a couple users of orinoco who have picked up
>> corrupt firmware# from the linux-firmware tree*.
>>
>> I've verified that the firmware in the repository itself is correct.
>>
>> It appears that downloading the file using the blob/raw links from
>> gitweb causes the corruption (0xc3 everywhere). At least it does with
>> firefox.
> 
> I can confirm the problem with Firefox 3.0.6.  But it's not "0xc3
> everywhere".  The corrupted file is a result of recoding from iso-8859-1
> to utf-8.  The correct agere_sta_fw.bin is 65046 bytes long.  The
> corrupted agere_sta_fw.bin is 89729 bytes long.
> 
> There is a way to recode the original binary with GNU recode:
> recode utf8..iso8859-1 agere_sta_fw.bin
> 
> wget 1.11.4 also gets a corrupted file 89729 bytes long.
> 
> curl 7.18.2 also get the corrupted file:
> 
> My strong impression is that the recoding takes place on the server.  I
> think the bug should be reported to the gitweb maintainers unless it a
> local breakage on the kernel.org site.
Thanks Pavel.

I just did a quick scan of the gitweb README - is this an issue with the $mimetypes_file or $fallback_encoding configurations variables?

Regards,
Dave.

#<http://marc.info/?l=orinoco-users&m=123411762524637> *<http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=shortlog>

Next: Jakub Narebski
Message 1 of 5 in “Re: [Orinoco-users] linux-firmware binary corruption with gitweb”
  1. DaveMar 3, 2009
  2. Jakub NarebskiMar 4, 2009
  3. DaveMar 4, 2009
  4. Jakub NarebskiMar 6, 2009
  5. Pavel RoskinMar 5, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.