about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-19 06:57:37 +0100
committerGitHub <noreply@github.com>2020-03-19 06:57:37 +0100
commit4c3a5a5da636f16ea0ada0a55960230760e4031c (patch)
treea764530065496a8b81abb2f36018dab8619b42e5 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent73c3a496cc8ce261e87abbd998b36ab16dab4f4b (diff)
parent28eeea630faf1e7514da96c5eedd67e330fe8571 (diff)
downloadrust-4c3a5a5da636f16ea0ada0a55960230760e4031c.tar.gz
rust-4c3a5a5da636f16ea0ada0a55960230760e4031c.zip
Rollup merge of #69969 - iximeow:sigstack-guard-page, r=cuviper
unix: Set a guard page at the end of signal stacks

This mitigates possible issues when signal stacks overflow, which could
manifest as segfaults or in unlucky circumstances possible clobbering of
other memory values as stack overflows tend to enable.

I went ahead and made a PR for this because it's a pretty small change, though if I should open an issue/RFC for this and discuss there first I'll happily do so. I've also added some example programs that demonstrate the uncomfortably clobber-happy behavior we currently have, and the segfaults that could/should result instead, [here](https://github.com/iximeow/jubilant-train).
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions