ipc: stream reader accepts an invalid flatbuffer schema and decimal precision 0
Maintainer thường phản hồi trong vòng 1 ngày
@AynSiddiqui đang làm issue này rồi.
Từ ngày 24/11/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Describe the bug, including details regarding any error messages, version, and platform.
Two inputs in the arrow-testing arrow-ipc-stream corpus are read by the Go stream reader without error, while Arrow C++ rejects both at the schema message (checked with pyarrow 26.0.1):
| Input | Go (main, 7bb62b71) | Arrow C++ |
|---|---|---|
clusterfuzz-testcase-minimized-arrow-ipc-stream-fuzz-4757582821064704 |
schema dictionary<values=month_day_nano_interval, indices=uint32>, 0 batches, no error |
Invalid flatbuffers message. |
crash-5e88bae6ac5250714e8c8bc73b9d67b949fadbb4 |
schema with baz: decimal(0, 0), 0 batches, no error |
Decimal precision out of range [1, 38]: 0 |
The decimal case looks like a missing range check where arrow/ipc/metadata.go builds the decimal type from the flatbuffer. For the first, C++ rejects it when verifying the flatbuffer; the Go stream reader parses the message without structural verification ((*messageReader).Message, arrow/ipc/message.go:324).
TestStreamFuzzRegression (added in #1650) accepts either outcome for these two inputs, so adding validation will not break it.
Follow-up to #1650 / #77.
Component(s)
Other
- Ngôn ngữ chính
- Assembly
- Star
- 423
- Fork
- 188
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 164
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/arrow-go
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
apache/arrow-go#1591 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
arrow/compute: safe float to integer cast skips the truncation check in sliced arrays with nullsCó thể đã có người làm @mansur-akhmadi đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 1/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Type: bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
parquet/file: a panic recovered in WriteBatch is not kept, so Close writes a footer for rows with no valuesCó thể đã có người làm @EdwardShen125 đã nhận 5 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày