From cb735e3800862a9350f56bdb775b4a8627226455 Mon Sep 17 00:00:00 2001 From: Janne Blomqvist Date: Thu, 12 Jan 2012 11:58:34 +0200 Subject: PR 51803 Avoid malloc if getcwd fails or is not available. 2012-01-12 Janne Blomqvist Tobias Burnus PR libfortran/51803 * runtime/main.c (store_exe_path): Avoid malloc if getcwd fails or is not available. Co-Authored-By: Tobias Burnus From-SVN: r183122 --- libgfortran/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libgfortran/ChangeLog') 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 + Tobias Burnus + + PR libfortran/51803 + * runtime/main.c (store_exe_path): Avoid malloc if getcwd fails or + is not available. + 2012-01-11 Tobias Burnus * runtime/main.c (store_exe_path): Fix absolute path @@ -5,6 +12,7 @@ 2012-01-11 Janne Blomqvist Mike Stump + PR libfortran/51803 * runtime/main.c (store_exe_path): Handle getcwd failure and lack of the function better. -- cgit v1.1