Skip to content

[C++] Make IPC message decoding stricter #50240

Closed

Description

@pitrou

Describe the bug, including details regarding any error messages, version, and platform.

Currently, when decoding an IPC message from an IPC file, we don't notice if the advertised metadata size is larger than the actual serialized metadata size.

We should make it an error to guard against invalid IPC files (for example with erroneous padding).

Found by OSS-Fuzz in https://issues.oss-fuzz.com/issues/524437775

Component(s)

C++

Activity

  1. self-assigned this
    on Jun 23, 2026
  2. added a commit that references this issue on Jun 24, 2026
  3. kou commented on Jun 24, 2026

    @kou
    Member

    Issue resolved by pull request 50235
    #50235

  4. added this to the 25.0.0 milestone on Jun 24, 2026
  5. added a commit that references this issue on Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions