Re: [Trac #278] Bad firmware causes WeirdShit® to happen.
Zarro Boogs per Child
bugtracker at laptop.org
Sat Nov 4 15:57:44 EST 2006
#278: Bad firmware causes WeirdShit® to happen.
--------------------+-------------------------------------------------------
Reporter: dwmw2 | Owner: marcelo
Type: defect | Status: new
Priority: normal | Milestone: BTest-1
Component: distro | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Comment (by dcbw):
Two things of note;
1) The driver does synchronous association on SIOCSIWESSID, which is
completely wrong. I was going to move that to work queues this week but
got bogged down in the firmware/flashing suckage. I still hope to do that
next week. No other driver that I've seen packs blocking
association/authentication into the SIWESSID call.
2) There is some minimal firmware file verification in the driver on
flash, but not, it appears, when uploading random firmware to the card.
So the normal paths don't even care if the firmware validates or not, it
just tries to dump it to the card. The card is supposed to check the CRC
of the uploaded blocks but maybe something dumb is happening here. We
_definitely_ should modify the driver to reject malformed firmware data.
--
Ticket URL: <http://dev.laptop.org/ticket/278#comment:7>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list