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

sim: use correct size to avoid buffer overflow #10185

Merged
merged 1 commit into from Aug 11, 2023

Conversation

chirping78
Copy link

@chirping78 chirping78 commented Aug 11, 2023

Summary

In last PR #10128, the sizeof xcpt_reg_t is different on 32/64 bit platform. Fix it here
Report by #10178.

Impact

Testing

sim:smp

@jerpelea
Copy link
Contributor

please add commit message describing the fix

Fix buffer overflow issue from PR apache#10128, since the sizeof
xcpt_reg_t is different on 32/64 bit platform.

Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit fd34be1 into apache:master Aug 11, 2023
26 checks passed
@jerpelea jerpelea added this to To-Add in Release Notes - 12.3.0 Sep 26, 2023
@jerpelea jerpelea moved this from To-Add to done in Release Notes - 12.3.0 Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants