aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.cc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2022-07-14 08:23:38 -0700
committerH.J. Lu <hjl.tools@gmail.com>2022-09-27 18:29:20 -0700
commita25982ada523689c8745d7fb4b1b93c8f5dab2e7 (patch)
tree574019090f42888a84404da6ca7b37fa4c6da68d /gcc/tree.cc
parent28390443ff72039ee8215fef2560fe76690af155 (diff)
downloadgcc-a25982ada523689c8745d7fb4b1b93c8f5dab2e7.zip
gcc-a25982ada523689c8745d7fb4b1b93c8f5dab2e7.tar.gz
gcc-a25982ada523689c8745d7fb4b1b93c8f5dab2e7.tar.bz2
stack-protector: Check stack canary before throwing exception
Check stack canary before throwing exception to avoid stack corruption. gcc/ PR middle-end/58245 * calls.cc: Include "tree-eh.h". (expand_call): Check stack canary before throwing exception. gcc/testsuite/ PR middle-end/58245 * g++.dg/fstack-protector-strong.C: Adjusted. * g++.dg/pr58245-1.C: New test.
Diffstat (limited to 'gcc/tree.cc')
0 files changed, 0 insertions, 0 deletions