diff options
author | Steve Baird <baird@adacore.com> | 2020-01-17 22:10:13 -0800 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-04 05:10:59 -0400 |
commit | b5682bf40cedf95d1e0150c6a6ba7a64c59fd968 (patch) | |
tree | 8a859c90f9b28e936ef5d91c4bbb5b8220a8a319 /gcc/tree-ssa-loop-prefetch.c | |
parent | b68c1670b7d40b09be2995e1e730ce4c87eb688c (diff) | |
download | gcc-b5682bf40cedf95d1e0150c6a6ba7a64c59fd968.zip gcc-b5682bf40cedf95d1e0150c6a6ba7a64c59fd968.tar.gz gcc-b5682bf40cedf95d1e0150c6a6ba7a64c59fd968.tar.bz2 |
[Ada] Avoid buffer overflow in Long_Long_Float_Text_IO
2020-06-04 Steve Baird <baird@adacore.com>
gcc/ada/
* libgnat/s-imgrea.ads: Declare a named number
Max_Real_Image_Length with value 5200. Provide a comment
explaining why this value was chosen.
* libgnat/s-imgrea.adb (Set_Image_Real): Increase the upper
bound of the local String variable Digs to
Max_Real_Image_Length.
* libgnat/a-tiflau.adb (Put): Increase the upper bound of the
local String variable Buf to Max_Real_Image_Length.
(Puts): Increase the upper bound of the local String variable
Buf to Max_Real_Image_Length.
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.c')
0 files changed, 0 insertions, 0 deletions