Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98857
b: refs/heads/master
c: 4fc89e3
h: refs/heads/master
i:
  98855: 0f65177
v: v3
  • Loading branch information
Darren Jenkins authored and Linus Torvalds committed Jul 12, 2008
1 parent 07f4c54 commit b127c93
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: 43f77e91eadbc290eb76a08110a039c809dde6c9
refs/heads/master: 4fc89e3911aa5357b55b85b60c4beaeb8a48a290
4 changes: 3 additions & 1 deletion trunk/drivers/isdn/i4l/isdn_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1977,8 +1977,10 @@ isdn_writebuf_stub(int drvidx, int chan, const u_char __user * buf, int len)
if (!skb)
return -ENOMEM;
skb_reserve(skb, hl);
if (copy_from_user(skb_put(skb, len), buf, len))
if (copy_from_user(skb_put(skb, len), buf, len)) {
dev_kfree_skb(skb);
return -EFAULT;
}
ret = dev->drv[drvidx]->interface->writebuf_skb(drvidx, chan, 1, skb);
if (ret <= 0)
dev_kfree_skb(skb);
Expand Down

0 comments on commit b127c93

Please sign in to comment.