Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340917
b: refs/heads/master
c: c5b057b
h: refs/heads/master
i:
  340915: 1294767
v: v3
  • Loading branch information
Arend van Spriel authored and John W. Linville committed Oct 19, 2012
1 parent 8839435 commit 0613ffe
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 3cb91f5335cfad6d85b723a8c8cce973566221b8
refs/heads/master: c5b057b55fb9822544995f9268de871ebac81f12
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/brcm80211/brcmfmac/dhd_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ brcmf_c_mkiovar_bsscfg(char *name, char *data, uint datalen,
namelen = (u32) strlen(name) + 1; /* lengh of iovar name + null */
iolen = prefixlen + namelen + sizeof(bssidx_le) + datalen;

if (buflen < 0 || iolen > (u32)buflen) {
if ((u32)buflen < iolen) {
brcmf_dbg(ERROR, "buffer is too short\n");
return 0;
}
Expand Down

0 comments on commit 0613ffe

Please sign in to comment.