[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix invalid USB descriptor endless loop.
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: [PATCH] Fix invalid USB descriptor endless loop. |
Date: |
Wed, 18 Sep 2013 13:27:37 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130821 Icedove/17.0.8 |
Committed, thanks.
On 09.09.2013 08:22, Melki Christian (consultant) wrote:
> Hi,
>
> I discovered that on some PC's the USB stack would produce an invalid
> descriptor upon query without an error.
> I don't know why this is the case, maybe broken hardware but I seriously
> doubt it.
> GRUB doesn't handle TT's at all, Clearing TT's or resetting them. Maybe thats
> a case for stuck transactions?
> The descriptor would contain 0 in length, or atleast the code would think
> that offset was the length
> and cause an endless loop.
> Maybe this type of parsing is completely avoidable but for now I just added a
> break condition.
> GRUB should not hang on faulty devices.
>
> BR,
> Christian
>
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
signature.asc
Description: OpenPGP digital signature