Re: [PATCH -tip] perf tools: Don't allow empty argument for field-separator.

From: Arnaldo Carvalho de Melo
Date: Fri Mar 20 2015 - 09:18:39 EST


Em Fri, Mar 20, 2015 at 02:57:52AM +0000, Wang Nan escreveu:
> 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 <wangnan0@xxxxxxxxxx>

Thanks, applied.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/