2.0.63.android5: port security fixes from main - #7712
Merged
Conversation
(cherry picked from commit d7ad403, manually applied) Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
(cherry picked from commit 1357fdc, manually applied) Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…ion (#7703) - Reject type names containing URL-special characters (: and !) - Text verification after whitelist hash match (acceptNameSet) - ClassLoader/DataSource/RowSet deny check on accept prefix match isAutoTypeDenyClass lives in TypeUtils (not JDKUtils) since this branch has no reflective SQL handles and already links javax.sql directly. (cherry picked from commit ec47e24, manually applied) Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Add bounds checks at 3 BC_BINARY allocation sites; extract checkBigintLen helper for the BC_BIGINT checks (mirrors main refactor). (cherry picked from commit 373cbe7, manually applied) Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
(cherry picked from commit 01eab36, manually applied) Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port 2.0.63 安全修复到 android5 分支(与 android8 相同的 6 个修复,逐 commit 内容一致):
未 port:
bdfe92f76readString AIOOBE —— 本分支无 strBuf 缓存机制,bug 不存在。验证:core 全量测试 5062 个全绿。