Skip to content

[C++] IPC file fuzzer fails when footer schema has differing endianness #49966

@pitrou

Description

@pitrou

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

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions