Re: [PATCH] Avoid out of scope access in hsa-dump.c

2018-07-23 Thread Martin Jambor
Hi, On Sun, Jul 22 2018, Bernd Edlinger wrote: > Hi, > > this fixes an use of a buffer after the block scope > in hsa-dump.c: "buf" is assigned to "name" and used after > the scope ends in a fprintf. > > I have not done any real checks, except boot-strapping with > all languages. > Is it OK for tr

[PATCH] Avoid out of scope access in hsa-dump.c

2018-07-22 Thread Bernd Edlinger
Hi, this fixes an use of a buffer after the block scope in hsa-dump.c: "buf" is assigned to "name" and used after the scope ends in a fprintf. I have not done any real checks, except boot-strapping with all languages. Is it OK for trunk? Thanks Bernd. 2018-07-22 Bernd Edlinger hsa-dump.c (