Re: [[PATCH] 1/3] aarch64: Sanitize access to cfun in aarch64_declare_function_name()

2021-03-03 Thread Christoph Müllner via Gcc-patches
On Thu, Mar 4, 2021 at 1:19 AM Andrew Pinski wrote: > On Wed, Mar 3, 2021 at 4:02 PM Christoph Müllner > wrote: > > > > [CCing Andrew Pinski, who had the same question] > > > > On 2/15/21 1:12 PM, Richard Earnshaw wrote: > > > On 09/12/2020 17:21, Christoph Müllner wrote: > > >> From: Christoph

Re: [[PATCH] 1/3] aarch64: Sanitize access to cfun in aarch64_declare_function_name()

2021-03-03 Thread Andrew Pinski via Gcc-patches
On Wed, Mar 3, 2021 at 4:02 PM Christoph Müllner wrote: > > [CCing Andrew Pinski, who had the same question] > > On 2/15/21 1:12 PM, Richard Earnshaw wrote: > > On 09/12/2020 17:21, Christoph Müllner wrote: > >> From: Christoph Muellner > >> > >> It is possible to call aarch64_declare_function_na

Re: [[PATCH] 1/3] aarch64: Sanitize access to cfun in aarch64_declare_function_name()

2021-03-03 Thread Christoph Müllner via Gcc-patches
[CCing Andrew Pinski, who had the same question] On 2/15/21 1:12 PM, Richard Earnshaw wrote: > On 09/12/2020 17:21, Christoph Müllner wrote: >> From: Christoph Muellner >> >> It is possible to call aarch64_declare_function_name() and >> have cfun not set. Let's sanitize the access to this variabl

Re: [[PATCH] 1/3] aarch64: Sanitize access to cfun in aarch64_declare_function_name()

2021-02-17 Thread Andrew Pinski via Gcc-patches
On Wed, Dec 9, 2020 at 9:21 AM Christoph Müllner wrote: > > From: Christoph Muellner > > It is possible to call aarch64_declare_function_name() and > have cfun not set. Let's sanitize the access to this variable. > > gcc/ > > * config/aarch64/aarch64.c (aarch64_declare_function_name): > S

Re: [[PATCH] 1/3] aarch64: Sanitize access to cfun in aarch64_declare_function_name()

2021-02-15 Thread Richard Earnshaw via Gcc-patches
On 09/12/2020 17:21, Christoph Müllner wrote: > From: Christoph Muellner > > It is possible to call aarch64_declare_function_name() and > have cfun not set. Let's sanitize the access to this variable. > > gcc/ > > * config/aarch64/aarch64.c (aarch64_declare_function_name): > Santize acc

[[PATCH] 1/3] aarch64: Sanitize access to cfun in aarch64_declare_function_name()

2020-12-09 Thread Christoph Müllner
From: Christoph Muellner It is possible to call aarch64_declare_function_name() and have cfun not set. Let's sanitize the access to this variable. gcc/ * config/aarch64/aarch64.c (aarch64_declare_function_name): Santize access to cfun. --- gcc/config/aarch64/aarch64.c | 3 ++- 1 file c