gcc/libgfortran
Janne Blomqvist 16e60fff0b Fix stack overflow crash in getcwd intrinsic.
2014-05-12  Janne Blomqvist  <jb@gcc.gnu.org>

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

From-SVN: r210335
2014-05-12 22:23:11 +03:00
..
caf trans-intrinsic.c (gfc_build_builtin_function_decls): Change type of second argument to int. 2014-05-11 20:25:55 +02:00
config Remove obsolete Solaris 9 support 2014-04-22 12:30:59 +00:00
generated Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
intrinsics Fix stack overflow crash in getcwd intrinsic. 2014-05-12 22:23:11 +03:00
io re PR libfortran/61049 (NIST test FM906 fails) 2014-05-07 01:31:42 +00:00
m4 Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
runtime Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
ChangeLog Fix stack overflow crash in getcwd intrinsic. 2014-05-12 22:23:11 +03:00
ChangeLog-2002 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2003 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2004 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2005 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2006 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2007 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2008 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2009 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2010 Rotate ChangeLogs. 2011-01-02 08:22:05 -08:00
ChangeLog-2011 2012-01-09 Richard Guenther <rguenther@suse.de> 2012-01-09 10:11:38 +00:00
ChangeLog-2012 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
Makefile.am Combined get_mem and internal_malloc_size. 2012-03-26 18:16:05 +03:00
Makefile.in Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
acinclude.m4 Use -z ignore instead of --as-needed on Solaris 2013-05-24 09:23:33 +00:00
aclocal.m4 Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
c99_protos.h Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
config.h.in configure.ac: Check for presence of fcntl. 2014-03-18 09:58:17 +00:00
configure Use -std=gnu11 instead of -std=gnu99 for libgfortran C code. 2014-05-12 22:20:50 +03:00
configure.ac Use -std=gnu11 instead of -std=gnu99 for libgfortran C code. 2014-05-12 22:20:50 +03:00
configure.host PR 48977 Denormal exception on glibc targets 2011-05-20 17:45:51 +03:00
fmain.c Add comment saying file is deprecated 2009-08-14 20:54:27 +03:00
gfortran.map re PR libfortran/36044 (user-requested backtrace) 2012-12-20 19:15:13 +01:00
kinds-override.h Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
libgfortran.h libgfortran.h (unlikely, likely): Add usage comment. 2014-03-08 23:13:26 +01:00
libgfortran.spec.in re PR fortran/32049 (Support on x86_64 also kind=16) 2010-11-16 22:23:19 +01:00
libtool-version re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +00:00
mk-kinds-h.sh re PR fortran/32049 (Support on x86_64 also kind=16) 2010-11-16 22:23:19 +01:00
mk-sik-inc.sh mk-sik-inc.sh: Make -Wunused-variable proof. 2008-09-10 19:18:08 +02:00
mk-srk-inc.sh intrinsic.h (gfc_check_selected_real_kind, [...]): Update prototypes. 2010-06-25 21:40:37 +02:00