Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215132
b: refs/heads/master
c: 37f9fc4
h: refs/heads/master
v: v3
  • Loading branch information
Samuel Ortiz authored and Samuel Ortiz committed Oct 11, 2010
1 parent 859fbb7 commit d36cdc9
Show file tree
Hide file tree
Showing 2 changed files with 3 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: efc463eb508798da4243625b08c7396462cabf9f
refs/heads/master: 37f9fc452d138dfc4da2ee1ce5ae85094efc3606
3 changes: 2 additions & 1 deletion trunk/net/irda/iriap.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,8 @@ static void iriap_getvaluebyclass_confirm(struct iriap_cb *self,
IRDA_DEBUG(4, "%s(), strlen=%d\n", __func__, value_len);

/* Make sure the string is null-terminated */
fp[n+value_len] = 0x00;
if (n + value_len < skb->len)
fp[n + value_len] = 0x00;
IRDA_DEBUG(4, "Got string %s\n", fp+n);

/* Will truncate to IAS_MAX_STRING bytes */
Expand Down

0 comments on commit d36cdc9

Please sign in to comment.