Re: [PATCH] Fix invalid memory access in gcc.c (driver/72765)

2016-08-15 Thread Martin Liška
On 08/15/2016 01:02 PM, Jakub Jelinek wrote: > On Fri, Aug 12, 2016 at 02:22:56PM +0200, Martin Liška wrote: >> Simple patch corrects assumption about string length, however the hunk in >> save_string is kind of discussable as one can have a string with '\0' chars >> which is length enough? >> >>

Re: [PATCH] Fix invalid memory access in gcc.c (driver/72765)

2016-08-15 Thread Jakub Jelinek
On Fri, Aug 12, 2016 at 02:22:56PM +0200, Martin Liška wrote: > Simple patch corrects assumption about string length, however the hunk in > save_string is kind of discussable as one can have a string with '\0' chars > which is length enough? > > Thoughts? > > Patch can bootstrap on ppc64le-redha