Re: [PATCH] Fix fold_checksum_tree buffer overflow (PR bootstrap/89560)

2019-03-05 Thread Richard Biener
On Tue, 5 Mar 2019, Jakub Jelinek wrote: > Hi! > > My earlier change to fold_checksum_tree unfortunately can result in buffer > overflow for CALL_EXPRs with TREE_NO_WARNING bit set and more than 21 > arguments, because the code used fixed size 216 byte (on x86_64) buffer > and CALL_EXPR is variab

[PATCH] Fix fold_checksum_tree buffer overflow (PR bootstrap/89560)

2019-03-05 Thread Jakub Jelinek
Hi! My earlier change to fold_checksum_tree unfortunately can result in buffer overflow for CALL_EXPRs with TREE_NO_WARNING bit set and more than 21 arguments, because the code used fixed size 216 byte (on x86_64) buffer and CALL_EXPR is variable length size 48 + nargs*8. Which means at least for