Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MdePkg/BaseLib: Fix out-of-bounds reads in SafeString #3604

Merged
merged 1 commit into from
Nov 7, 2022

Conversation

lgao4
Copy link
Contributor

@lgao4 lgao4 commented Nov 7, 2022

There was a OOB access in StrHexTo functions, when passed strings like "XDEADBEEF".

OpenCore folks established an ASAN-equipped project to fuzz Ext4Dxe, which was able to catch these (mostly harmless) issues.

Cc: Vitaly Cheptsov vit9696@protonmail.com
Cc: Marvin H?user mhaeuser@posteo.de
Cc: Michael D Kinney michael.d.kinney@intel.com
Cc: Liming Gao gaoliming@byosoft.com.cn
Cc: Zhiguang Liu zhiguang.liu@intel.com
Signed-off-by: Pedro Falcato pedro.falcato@gmail.com
Acked-by: Michael D Kinney michael.d.kinney@intel.com
Reviewed-by: Jiewen Yao Jiewen.yao@Intel.com
Reviewed-by: Liming Gao gaoliming@byosoft.com.cn

There was a OOB access in *StrHexTo* functions, when passed strings like
"XDEADBEEF".

OpenCore folks established an ASAN-equipped project to fuzz Ext4Dxe,
which was able to catch these (mostly harmless) issues.

Cc: Vitaly Cheptsov <vit9696@protonmail.com>
Cc: Marvin H?user <mhaeuser@posteo.de>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
Acked-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@Intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
@lgao4 lgao4 added the push Auto push patch series in PR if all checks pass label Nov 7, 2022
@mergify mergify bot merged commit 35043a5 into tianocore:master Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
push Auto push patch series in PR if all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants