diff --git a/doc/development/secure_coding_guidelines.md b/doc/development/secure_coding_guidelines.md index 5535f1ac4c0bcb87f688df6c9160a50c7986c849..8d77467d1b5889ec38c1a338c039a2785d4cb3a9 100644 --- a/doc/development/secure_coding_guidelines.md +++ b/doc/development/secure_coding_guidelines.md @@ -1157,7 +1157,7 @@ Here's some pseudocode showing an example of a potential TOCTOU bug: ```ruby def upvote(comment, user) # The time between calling .exists? and .create can lead to TOCTOU, - # particulary if .create is a slow method, or runs in a background job + # particularly if .create is a slow method, or runs in a background job if Upvote.exists?(comment: comment, user: user) return else