aboutsummaryrefslogtreecommitdiff
path: root/gcc/resource.c
diff options
context:
space:
mode:
authorClaire Dross <dross@adacore.com>2019-07-11 08:02:44 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-07-11 08:02:44 +0000
commit1048a1839fde97a1bd790b002dad8b79e172724f (patch)
tree4389d46dc27fe6b85491206c7fc8ab09afbec5b1 /gcc/resource.c
parent9d80f439131664ba852db64a6d5ac80a4d4e6f2e (diff)
downloadgcc-1048a1839fde97a1bd790b002dad8b79e172724f.zip
gcc-1048a1839fde97a1bd790b002dad8b79e172724f.tar.gz
gcc-1048a1839fde97a1bd790b002dad8b79e172724f.tar.bz2
[Ada] Memory corruption when using formal hashed sets or maps
Add a check to avoid causing a buffer overflow when the map is empty 2019-07-11 Claire Dross <dross@adacore.com> gcc/ada/ * libgnat/a-cfhama.adb, libgnat/a-cfhase.adb (Free): Do not reset the Has_Element flag if no element is freed. From-SVN: r273397
Diffstat (limited to 'gcc/resource.c')
0 files changed, 0 insertions, 0 deletions