This is an automated email from the ASF dual-hosted git repository.
lgoldstein pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
The following commit(s) were added to refs/heads/master by this push:
new 98b89bd Fixed typo in CHANGES.md
98b89bd is described below
commit 98b89bd07a1c51ef253905b859e828f737f969a9
Author: Lyor Goldstein <[email protected]>
AuthorDate: Tue Feb 8 18:40:57 2022 +0200
Fixed typo in CHANGES.md
---
CHANGES.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CHANGES.md b/CHANGES.md
index 9fc8652..4571d35 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -53,7 +53,7 @@ There are several exceptions to this rule:
* Cases where the value serves as argument for allocation of other data
structures based on its value - e.g., arrays, lists. This was
done for *convenience* reasons since Java does not support unsigned array/list
sizes. In such cases, special validation code was applied
-to make sure the requested value does not exceed `Integer#MAX_VALUE`
(sometimes even less) in order to protected the code from malicious
+to make sure the requested value does not exceed `Integer#MAX_VALUE`
(sometimes even less) in order to protect the code from malicious
or malformed packets. It is important to bear in mind that in the vast
majority of the cases we do not want to be able to allocate arrays
or lists having billions of elements as it would almost definitely cause
out-of-memory issues.