Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182663
b: refs/heads/master
c: 6123637
h: refs/heads/master
i:
  182661: 6aa85b2
  182659: f7c34ef
  182655: f2a604e
v: v3
  • Loading branch information
Clemens Ladisch authored and Jaroslav Kysela committed Feb 1, 2010
1 parent 7f56654 commit 36c09eb
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: a75d7a4cf50d1cee14d8c9aaa2b971232d10f2c1
refs/heads/master: 6123637fafbf445cc9ce5774dc9516da0b2daa88
2 changes: 1 addition & 1 deletion trunk/sound/core/control.c
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ static int snd_ctl_tlv_ioctl(struct snd_ctl_file *file,

if (copy_from_user(&tlv, _tlv, sizeof(tlv)))
return -EFAULT;
if (tlv.length < sizeof(unsigned int) * 3)
if (tlv.length < sizeof(unsigned int) * 2)
return -EINVAL;
down_read(&card->controls_rwsem);
kctl = snd_ctl_find_numid(card, tlv.numid);
Expand Down

0 comments on commit 36c09eb

Please sign in to comment.