Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73450
b: refs/heads/master
c: 30c4ae4
h: refs/heads/master
v: v3
  • Loading branch information
Michael Buesch authored and Jeff Garzik committed Nov 10, 2007
1 parent bc194f8 commit f249fa3
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: 80fda03fc8b5cd09c3e0e90725ef9bcb2a5c7b30
refs/heads/master: 30c4ae42317666f3aeed658cdb8803c84ac6fe77
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/b43/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static ssize_t shm_read_file(struct b43_wldev *dev,
__le16 *le16buf = (__le16 *)buf;

for (i = 0; i < 0x1000; i++) {
if (bufsize <= 0)
if (bufsize < sizeof(tmp))
break;
tmp = b43_shm_read16(dev, B43_SHM_SHARED, 2 * i);
le16buf[i] = cpu_to_le16(tmp);
Expand Down

0 comments on commit f249fa3

Please sign in to comment.