lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 29 Apr 2015 19:23:33 -0300 From: Arnaldo Carvalho de Melo <acme@...nel.org> To: Wang Nan <wangnan0@...wei.com> Cc: jolsa@...nel.org, dsahern@...il.com, paulus@...ba.org, a.p.zijlstra@...llo.nl, lizefan@...wei.com, linux-kernel@...r.kernel.org, mingo@...nel.org Subject: Re: [PATCH] perf: probe: avoid segfault if passed with ''. Em Tue, Apr 28, 2015 at 08:46:09AM +0000, Wang Nan escreveu: > Since parse_perf_probe_point() deals with a user passed argument, we > should not assume it to be a valid string. > > Without this patch, if pass '' to perf probe, a segfault raises: > > $ perf probe -a '' > Segmentation fault > > This patch checks argument of parse_perf_probe_point() before > string processing. > > After this patch: > > $ perf probe -a '' > > usage: perf probe [<options>] 'PROBEDEF' ['PROBEDEF' ...] > or: perf probe [<options>] --add 'PROBEDEF' [--add 'PROBEDEF' ...] > ... Thanks, applied to perf/urgent. - Arnaldo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists