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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 15 Jul 2019 08:00:06 -0300
From:   Arnaldo Carvalho de Melo <arnaldo.melo@...il.com>
To:     Ravi Bangoria <ravi.bangoria@...ux.ibm.com>
Cc:     jolsa@...hat.com, kamalesh@...ux.vnet.ibm.com,
        mamatha4@...ux.vnet.ibm.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf version: Fix segfault

Em Tue, Jun 11, 2019 at 08:31:09AM +0530, Ravi Bangoria escreveu:
> 'perf version' on powerpc segfaults when used with non-supported
> option:
>   # perf version -a
>   Segmentation fault (core dumped)
> 
> Fix this.
> 
> Signed-off-by: Ravi Bangoria <ravi.bangoria@...ux.ibm.com>
> Reviewed-by: Kamalesh babulal <kamalesh@...ux.vnet.ibm.com>
> Tested-by: Mamatha Inamdar <mamatha4@...ux.vnet.ibm.com>
> ---
>  tools/perf/builtin-version.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tools/perf/builtin-version.c b/tools/perf/builtin-version.c
> index f470144d1a70..bf114ca9ca87 100644
> --- a/tools/perf/builtin-version.c
> +++ b/tools/perf/builtin-version.c
> @@ -19,6 +19,7 @@ static struct version version;
>  static struct option version_options[] = {
>  	OPT_BOOLEAN(0, "build-options", &version.build_options,
>  		    "display the build options"),
> +	OPT_END(),
>  };

Thanks, applied.

- Arnaldo

Powered by blists - more mailing lists