summaryrefslogtreecommitdiffstats
path: root/llvm/docs/SpeculativeLoadHardening.md
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/SpeculativeLoadHardening.md')
-rw-r--r--llvm/docs/SpeculativeLoadHardening.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/SpeculativeLoadHardening.md b/llvm/docs/SpeculativeLoadHardening.md
index 0911b7c6ae2..de6dc015c57 100644
--- a/llvm/docs/SpeculativeLoadHardening.md
+++ b/llvm/docs/SpeculativeLoadHardening.md
@@ -255,7 +255,7 @@ if (untrusted_size_from_caller < sizeof(local_buffer)) {
memcpy(local_buffer, untrusted_data_from_caller,
untrusted_size_from_caller);
// The stack has now been smashed, writing an attacker-controlled
- // address over the return adress.
+ // address over the return address.
minor_processing(local_buffer);
return;
// Control will speculate to the attacker-written address.
OpenPOWER on IntegriCloud