Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361113
b: refs/heads/master
c: f394793
h: refs/heads/master
i:
  361111: eabdd9b
v: v3
  • Loading branch information
Chen Gang authored and David S. Miller committed Mar 8, 2013
1 parent 1002879 commit 41359e3
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: 2e85d67690cf3ea3f074a6e872f675226883fe7f
refs/heads/master: f39479363e0361c8bb4397481c01a7c3a1a3c8ac
4 changes: 3 additions & 1 deletion trunk/drivers/isdn/i4l/isdn_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,9 @@ isdn_tty_send_msg(modem_info *info, atemu *m, char *msg)
int j;
int l;

l = strlen(msg);
l = min(strlen(msg), sizeof(cmd.parm) - sizeof(cmd.parm.cmsg)
+ sizeof(cmd.parm.cmsg.para) - 2);

if (!l) {
isdn_tty_modem_result(RESULT_ERROR, info);
return;
Expand Down

0 comments on commit 41359e3

Please sign in to comment.