diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2016-09-21 13:07:06 +0300 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2016-09-21 13:07:06 +0300 |
commit | 9ad5c32a217ab45edbf231d7ee56a1351aac84c7 (patch) | |
tree | d7543e41b04c30c8b50d74579cede77792e804c2 /libgfortran/ChangeLog | |
parent | bc084f84b3baee7b9fdc73cc05b6aa8adf1e97e5 (diff) | |
download | gcc-9ad5c32a217ab45edbf231d7ee56a1351aac84c7.zip gcc-9ad5c32a217ab45edbf231d7ee56a1351aac84c7.tar.gz gcc-9ad5c32a217ab45edbf231d7ee56a1351aac84c7.tar.bz2 |
Use rand_s on MinGW-w64, fix array bound overflow.
2016-09-21 Janne Blomqvist <jb@gcc.gnu.org>
* intrinsics/random.c (getosrandom): Use rand_s() on
MinGW-w64. Fix bounds overflow in fallback code.
From-SVN: r240309
Diffstat (limited to 'libgfortran/ChangeLog')
-rw-r--r-- | libgfortran/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index cb12545..3edd9ed 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2016-09-21 Janne Blomqvist <jb@gcc.gnu.org> + + * intrinsics/random.c (getosrandom): Use rand_s() on + MinGW-w64. Fix bounds overflow in fallback code. + 2016-09-19 Andre Vehreschild <vehre@gcc.gnu.org> * caf/libcaf.h: Add caf_reference_type. |