Re: [PATCH] staging: rtl8188eu: Fix off-by-one in core/rtw_mlme_ext.c

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

 



On Tue, Nov 27, 2018 at 08:29:05AM +0000, Yang Xiao wrote:
> Hi,
> 
> See commit ef9209b642f ("staging: rtl8723bs: Fix indenting errors and an 
> off-by-one mistake in core/rtw_mlme_ext.c") for detail.
> 
> I don't know how can you make sure that line 3254 can be true in the for 
> loop.  If the condition never satisfies, then there is an off-by-one 
> access in line 3267.
> 
> If you can prove it, then the patch is unnecessary.
> 

Ugh...  Patch ef9209b642f isn't right.  :(

Do you want to send a patch to change that back to the way it was.  If
not then I can do it.

regards,
dan carpenter


_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux