Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268844
b: refs/heads/master
c: 6b7200f
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Oct 19, 2011
1 parent 4089067 commit a653e7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4535743304c7652f8e4a6dc35276d466fd97c0e3
refs/heads/master: 6b7200fe0a59d7bda59e9e028b235b25a137dff9
4 changes: 3 additions & 1 deletion trunk/drivers/staging/vt6655/wpactl.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ int wpa_set_wpadev(PSDevice pDevice, int val)
int uu, ii;


if (param->u.wpa_key.alg_name > WPA_ALG_CCMP)
if (param->u.wpa_key.alg_name > WPA_ALG_CCMP ||
param->u.wpa_key.key_len >= MAX_KEY_LEN ||
param->u.wpa_key.seq_len >= MAX_KEY_LEN)
return -EINVAL;

DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "param->u.wpa_key.alg_name = %d \n", param->u.wpa_key.alg_name);
Expand Down

0 comments on commit a653e7f

Please sign in to comment.