ipc: stream reader accepts an invalid flatbuffer schema and decimal precision 0
Los mantenedores suelen responder en 1 día
@AynSiddiqui ya está trabajando en esto.
Desde el 24/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- Assembly
- Estrellas
- 423
- Forks
- 188
- Merge medio
- 1 d 7 h
- PR fusionados (30 d)
- 164
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/arrow-go
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
apache/arrow-go#1591 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
arrow/compute: safe float to integer cast skips the truncation check in sliced arrays with nullsPosiblemente ocupada @mansur-akhmadi la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 1/100
Los mantenedores suelen responder en 1 día
-
Type: bug
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
parquet/file: a panic recovered in WriteBatch is not kept, so Close writes a footer for rows with no valuesPosiblemente ocupada @EdwardShen125 la tomó hace 4 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día