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

[C++] Allocate memory of a random size because the passed value is an uninitialized int32_t. #43124

Open
flashzxi opened this issue Jul 3, 2024 · 1 comment

Comments

@flashzxi
Copy link

flashzxi commented Jul 3, 2024

Describe the bug, including details regarding any error messages, version, and platform.

In grouper.cc, allocated a random uint32_t size memory because of using uninitialized offset vector when group_nums == 0

see pr: #43123
image

Component(s)

C++

@flashzxi
Copy link
Author

flashzxi commented Jul 3, 2024

lines 780-782 were added by me

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

No branches or pull requests

1 participant