diff options
author | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2018-11-08 16:35:21 +0000 |
---|---|---|
committer | Jozef Lawrynowicz <jozefl@gcc.gnu.org> | 2018-11-08 16:35:21 +0000 |
commit | d0cb40577fb3a4cbdadd96c5454d1cfdfb64b518 (patch) | |
tree | d5cb63b4c8fb80c78466736136587e6605fe209d /gcc/json.h | |
parent | 270819b84ba7323c5d855984c2fa3b2fb71e7767 (diff) | |
download | gcc-d0cb40577fb3a4cbdadd96c5454d1cfdfb64b518.zip gcc-d0cb40577fb3a4cbdadd96c5454d1cfdfb64b518.tar.gz gcc-d0cb40577fb3a4cbdadd96c5454d1cfdfb64b518.tar.bz2 |
attr-alloc_size-10.c: Fix calculation of USHRT_MAX to prevent integer overflow when...
2018-11-08 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* gcc.dg/attr-alloc_size-10.c: Fix calculation of USHRT_MAX to prevent
integer overflow when sizeof(short) == sizeof(int).
* gcc.dg/attr-alloc_size-11.c: Likewise.
* gcc.dg/attr-alloc_size-3.c: Likewise.
* gcc.dg/attr-alloc_size-5.c: Likewise.
* gcc.dg/builtin-stringop-chk-7.c: Likewise.
From-SVN: r265928
Diffstat (limited to 'gcc/json.h')
0 files changed, 0 insertions, 0 deletions