Search Linux Wireless

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

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

 



> > 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>

Great, thanks for testing.

John, please merge both these patches.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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