Re: [PATCH v2] stack-protector: Check stack canary before throwing exception

2022-09-27 Thread Jeff Law via Gcc-patches
On 8/17/22 16:18, H.J. Lu via Gcc-patches wrote: 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 m

[PATCH v2] stack-protector: Check stack canary before throwing exception

2022-08-17 Thread H.J. Lu via Gcc-patches
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-str