Search Linux Wireless

Re: [PATCH] p54: fix eeprom parser length sanity checks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi again Johannes,

Le vendredi 29 février 2008, Johannes Berg a écrit :
> When I called p54_parse_eeprom() on a hand-coded structure
> I managed to make a small mistake with wrap->len which caused
> a segfault a few lines down when trying to read entry->len.
> This patch changes the validation code to avoid such problems.
>
> Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

I confirm this patch works, thanks Johannes. Tested with an Inventel UR054g 
dongle.

Tested-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux