Skip to content

[C++] Write serializer could be crash if the value buffer is empty #48691

@boneanxs

Description

@boneanxs

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

WriteArrowSerialize could unconditionally read values from the Arrow array even for null rows. Since it's possible the caller could provided a zero-sized dummy buffer for all-null arrays, this caused an ASAN heap-buffer-overflow.

Component(s)

Parquet

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions