pitrou opened a new pull request, #49451:
URL: https://github.com/apache/arrow/pull/49451

   ### Rationale for this change
   
   In https://github.com/apache/arrow/issues/49311 we added differential 
fuzzing for the IPC file fuzzer, where we compare the contents as read by the 
IPC file reader and the IPC stream reader, respectively.
   
   However, as the IPC file footer carries a duplicate definition of the file's 
schema, the fuzzer could mutate it and make it mismatch the IPC stream schema. 
The fuzz target would currently fail on such a file, even though it's 
technically not a bug in the IPC implementation.
   
   This was detected by OSS-Fuzz in https://issues.oss-fuzz.com/issues/486127061
   
   ### What changes are included in this PR?
   
   Detect a mismatching schema between IPC stream and IPC file, and skip the 
batches comparison in that case.
   
   ### Are these changes tested?
   
   Yes, by new regression test.
   
   ### Are there any user-facing changes?
   
   No.
   


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