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

engine_status_dump buffer overflow #314

Open
dmitrym1 opened this issue Jan 17, 2025 · 0 comments · May be fixed by #315
Open

engine_status_dump buffer overflow #314

dmitrym1 opened this issue Jan 17, 2025 · 0 comments · May be fixed by #315

Comments

@dmitrym1
Copy link

In function engine_status_dump() there is char buffer[256]. If engine status is 0xFFFFFFFF, which means all possible flags, calling engine_status_dump() causes buffer overflow and kernel crash. This is impossible in normal conditions and could only be triggered by another problem. But function engine_status_dump() is a diagnostic function and thus should not lead to crash even if input makes no sense. The problem could be fixed by increasing buffer size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant