diff options
author | Wang Nan <[email protected]> | 2015-03-20 02:57:52 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-03-20 17:49:51 -0300 |
commit | 8b8ca6e15e392b366a7d69c6bf1abaae005f2b63 (patch) | |
tree | 64df00847713dd35e37580f5bf9ff615e0574a1b /net/lapb/lapb_timer.c | |
parent | 0635b0f71424be7706793ac260d063491a2889a0 (diff) |
perf tools: Don't allow empty argument for field-separator
Both 'perf diff' and 'perf mem' have 'field-separator' option, which
causes segfault if passed with empty string. This patch uses previously
introduced 'OPT_STRING_NOEMPTY' option macro to prevent fault.
Signed-off-by: Wang Nan <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: [email protected]
Cc: Namhyung Kim <[email protected]>
Cc: Zefan Li <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions