diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2012-01-12 11:58:34 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2012-01-12 11:58:34 +0200 |
commit | cb735e3800862a9350f56bdb775b4a8627226455 (patch) | |
tree | ecec08b90b14048a337d070bc48ab04deedc35ed /libgfortran/ChangeLog | |
parent | 725a74a517294915302c713ee309340779514621 (diff) | |
download | gcc-cb735e3800862a9350f56bdb775b4a8627226455.zip gcc-cb735e3800862a9350f56bdb775b4a8627226455.tar.gz gcc-cb735e3800862a9350f56bdb775b4a8627226455.tar.bz2 |
PR 51803 Avoid malloc if getcwd fails or is not available.
2012-01-12 Janne Blomqvist <jb@gcc.gnu.org>
Tobias Burnus <burnus@net-b.de>
PR libfortran/51803
* runtime/main.c (store_exe_path): Avoid malloc if getcwd fails or
is not available.
Co-Authored-By: Tobias Burnus <burnus@net-b.de>
From-SVN: r183122
Diffstat (limited to 'libgfortran/ChangeLog')
-rw-r--r-- | libgfortran/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index b1e2b04..7072e18 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,10 @@ +2012-01-12 Janne Blomqvist <jb@gcc.gnu.org> + Tobias Burnus <burnus@net-b.de> + + PR libfortran/51803 + * runtime/main.c (store_exe_path): Avoid malloc if getcwd fails or + is not available. + 2012-01-11 Tobias Burnus <burnus@net-b.de> * runtime/main.c (store_exe_path): Fix absolute path @@ -5,6 +12,7 @@ 2012-01-11 Janne Blomqvist <jb@gcc.gnu.org> Mike Stump <mikestump@comcast.net> + PR libfortran/51803 * runtime/main.c (store_exe_path): Handle getcwd failure and lack of the function better. |