Skip to content

Non-streamed trailer can be spoofed #984

Closed

Description

@NexiusTailer

// Got a new one that we didn't know about.
trailer = static_cast<Vehicle*>(pool->get(vehicleSync.TrailerID));
if (trailer)
{
trailer->cab = this;
}

This is from driver sync where the player can send valid, but non-streamed trailerid for him and it will be passed without checks.
The solution is probably to check if trailer is streamed for this player at the moment.

Activity

  1. added
    bug
    on Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions