ipc: stream reader accepts an invalid flatbuffer schema and decimal precision 0
I maintainer di solito rispondono entro 1 giorno
@AynSiddiqui ci sta già lavorando.
Dal 24/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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
- Lingua principale
- Assembly
- Stelle
- 423
- Fork
- 188
- Merge medio
- 1g 7h
- PR unite (30g)
- 164
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/arrow-go
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
apache/arrow-go#1591 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
arrow/compute: safe float to integer cast skips the truncation check in sliced arrays with nullsForse già presa @mansur-akhmadi l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 1/100
I maintainer di solito rispondono entro 1 giorno
-
Type: bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
parquet/file: a panic recovered in WriteBatch is not kept, so Close writes a footer for rows with no valuesForse già presa @EdwardShen125 l’ha presa 4 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno