Describe the bug, including details regarding any error messages, version, and platform.
In the IPC file format, the IPC file footer has a copy of the embedded IPC stream's schema. However, the two copies may be different in case of an invalid/corrupted IPC file.
We currently check for this in the IPC file fuzzer, except that a differing endianness is undetected because it is normalized in the Schema that's given back to the caller. The fuzzer would then fail with differing contents between IPC file and stream, as only one of them would have undergone endianness swapping.
Issue found by OSS-Fuzz: https://issues.oss-fuzz.com/issues/506111650
Component(s)
C++
Describe the bug, including details regarding any error messages, version, and platform.
In the IPC file format, the IPC file footer has a copy of the embedded IPC stream's schema. However, the two copies may be different in case of an invalid/corrupted IPC file.
We currently check for this in the IPC file fuzzer, except that a differing endianness is undetected because it is normalized in the Schema that's given back to the caller. The fuzzer would then fail with differing contents between IPC file and stream, as only one of them would have undergone endianness swapping.
Issue found by OSS-Fuzz: https://issues.oss-fuzz.com/issues/506111650
Component(s)
C++