Skip to content

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

@flashzxi

Description

@flashzxi

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++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions