lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061207132505.049363e6@griffin.suse.cz>
Date:	Thu, 7 Dec 2006 13:25:05 +0100
From:	Jiri Benc <jbenc@...e.cz>
To:	David Kimdon <david.kimdon@...icescape.com>
Cc:	netdev@...r.kernel.org, "John W. Linville" <linville@...driver.com>
Subject: Re: [patch 7/7] d80211: do not pass an invalid key index to
 set_key()

On Wed, 6 Dec 2006 16:45:40 -0800, David Kimdon wrote:
> Index: wireless-dev/net/d80211/ieee80211_ioctl.c
> ===================================================================
> --- wireless-dev.orig/net/d80211/ieee80211_ioctl.c
> +++ wireless-dev/net/d80211/ieee80211_ioctl.c
> @@ -612,7 +612,7 @@ static int ieee80211_set_encryption(stru
>  
>  	if (alg == ALG_NONE) {
>  		keyconf = NULL;
> -		if (try_hwaccel && key && local->ops->set_key &&
> +		if (try_hwaccel && key && key->hw_key_idx != -1 && local->ops->set_key &&

Use HW_KEY_IDX_INVALID, please.

Thanks,

 Jiri

-- 
Jiri Benc
SUSE Labs
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ