AynSiddiqui opened a new issue, #1676:
URL: https://github.com/apache/arrow-go/issues/1676

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to