Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146170
b: refs/heads/master
c: 5872144
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Steven Rostedt committed May 15, 2009
1 parent c894bf5 commit b01de8c
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: 8cd995b6deedf98b7694ed32a786ee7f793d1eec
refs/heads/master: 5872144f64b34a5942f6b4acedc90b02de72c58b
2 changes: 1 addition & 1 deletion trunk/kernel/trace/trace_events_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ static inline void clear_operand_string(struct filter_parse_state *ps)

static inline int append_operand_char(struct filter_parse_state *ps, char c)
{
if (ps->operand.tail == MAX_FILTER_STR_VAL)
if (ps->operand.tail == MAX_FILTER_STR_VAL - 1)
return -EINVAL;

ps->operand.string[ps->operand.tail++] = c;
Expand Down

0 comments on commit b01de8c

Please sign in to comment.