Browse Source

Fix parse entry without arguments

master
Denis Tereshkin 6 months ago
parent
commit
03b1e51cee
  1. 4
      src/ftracetool.c

4
src/ftracetool.c

@ -440,10 +440,6 @@ static int parse_ftrace_entry(const char *str,
return ER_PARSE_ERROR + 12; return ER_PARSE_ERROR + 12;
} }
str++; str++;
if (!*str)
{
return ER_PARSE_ERROR + 13;
}
size_t arg_num = 0; size_t arg_num = 0;
while (*str) while (*str)

Loading…
Cancel
Save