[patch, libfortran] Fix PR 32217, crash on unpack of zero-sized array

Jerry DeLisle jvdelisle@verizon.net
Sun Jul 8 22:15:00 GMT 2007


Thomas Koenig wrote:
> :ADDPATCH fortran:
> 
> Hello world,
> 
> having returned from my holidays, here's a small patch that fixes PR
> 32217.  The problem here was that the data pointer for a zero-sized
> array was dereferenced inside the library, which caused a segfault.
> 
> Regression-tested on i686-pc-linux-gnu.  Also regression-tested on PPC
> with Darwin 7 by Dominique, as noted in the PR.
> 
> OK for trunk?
> 
This is OK. Thanks.

Jerry



More information about the Gcc-patches mailing list