Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206694
b: refs/heads/master
c: b3390ce
h: refs/heads/master
v: v3
  • Loading branch information
Kulikov Vasiliy authored and Takashi Iwai committed Jul 29, 2010
1 parent cb56281 commit dfbea38
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: 5157cc8113db3de60ab6320965331c63bc77003c
refs/heads/master: b3390ceab95601afc12213c3ec5551d3bc7b638f
4 changes: 3 additions & 1 deletion trunk/sound/oss/midi_synth.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,9 @@ midi_synth_load_patch(int dev, int format, const char __user *addr,
{
unsigned char data;

get_user(*(unsigned char *) &data, (unsigned char __user *) &((addr)[hdr_size + i]));
if (get_user(data,
(unsigned char __user *)(addr + hdr_size + i)))
return -EFAULT;

eox_seen = (i > 0 && data & 0x80); /* End of sysex */

Expand Down

0 comments on commit dfbea38

Please sign in to comment.