diff options
author | Marcel Böhme <boehme.marcel@gmail.com> | 2016-04-08 12:10:21 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2016-04-08 12:10:21 +0000 |
commit | bdf66f7734daf0d2a8f53eb5a1a94a94a28246fc (patch) | |
tree | cfa89c5025da2434c49ea375c858dac4c4e7233d /gcc/tree-ssa-ifcombine.c | |
parent | 59dad006fa31fe3355defcd6b38ab70fd7d2737f (diff) | |
download | gcc-bdf66f7734daf0d2a8f53eb5a1a94a94a28246fc.zip gcc-bdf66f7734daf0d2a8f53eb5a1a94a94a28246fc.tar.gz gcc-bdf66f7734daf0d2a8f53eb5a1a94a94a28246fc.tar.bz2 |
Fix memory allocation size overflows (PR69687, patch by Marcel Böhme)
PR c++/69687
* cplus-dem.c: Include <limits.h> if available.
(INT_MAX): Define if necessary.
(remember_type, remember_Ktype, register_Btype, string_need):
Abort if we detect cases where we the size of the allocation would
overflow.
From-SVN: r234829
Diffstat (limited to 'gcc/tree-ssa-ifcombine.c')
0 files changed, 0 insertions, 0 deletions