Search Linux Wireless

Re: [patch 1/2] ipw2x00: remove unused ->ibss_dfs pointer

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

 



Hello Dan,

On 9 October 2014 02:57, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
> The ->ibss_dfs pointer is always allocated with a user controlled
> length.  This caused a static checker warning because what if the length
> was zero?  In that case, any dereference of ->ibss_dfs would lead to an
> Oops.
>
> It turns out that this isn't a problem because the ->ibss_dfs pointer is
> never used.  This patch deletes it along with all the related code.  In
> particular the entire libipw_network_reset() function can be removed.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Looks fine, thanks.

Stanislav.
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux