[Bug libfortran/61035] Crash in getcwd intrinsic due to stack overflow

2014-05-02 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61035

Janne Blomqvist  changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |jb at gcc dot gnu.org

--- Comment #1 from Janne Blomqvist  ---
Assigning to myself, I have a cunning plan.


[Bug libfortran/61035] Crash in getcwd intrinsic due to stack overflow

2014-05-03 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61035

Janne Blomqvist  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
URL||http://gcc.gnu.org/ml/gcc-p
   ||atches/2014-05/msg00157.htm
   ||l
   Last reconfirmed||2014-05-03
 Ever confirmed|0   |1

--- Comment #2 from Janne Blomqvist  ---
Patch at http://gcc.gnu.org/ml/gcc-patches/2014-05/msg00157.html


[Bug libfortran/61035] Crash in getcwd intrinsic due to stack overflow

2014-05-12 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61035

--- Comment #3 from Janne Blomqvist  ---
Author: jb
Date: Mon May 12 19:23:11 2014
New Revision: 210335

URL: http://gcc.gnu.org/viewcvs?rev=210335&root=gcc&view=rev
Log:
Fix stack overflow crash in getcwd intrinsic.

2014-05-12  Janne Blomqvist  

PR libfortran/61035
* intrinsics/getcwd.c (getcwd_i4_sub): Avoid potentially large
stack allocation, avoid extra copying in the common case.

Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/intrinsics/getcwd.c


[Bug libfortran/61035] Crash in getcwd intrinsic due to stack overflow

2014-05-12 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61035

Janne Blomqvist  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Janne Blomqvist  ---
Fixed, closing