steamclient: Read access input strings on the PE side.

This commit is contained in:
Paul Gofman 2023-12-13 20:09:27 -06:00 committed by Arkadiusz Hiler
parent de63ea5341
commit c8669fbcbd
27 changed files with 1760 additions and 0 deletions

View file

@ -37,6 +37,7 @@ void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSeria
.pszReason = pszReason,
};
TRACE("%p\n", _this);
IsBadStringPtrA(pszReason, -1);
STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized002_SendP2PConnectionFailure, &params );
}
@ -173,6 +174,7 @@ void __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSeria
.pszReason = pszReason,
};
TRACE("%p\n", _this);
IsBadStringPtrA(pszReason, -1);
STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_SendP2PConnectionFailure, &params );
}
@ -197,6 +199,7 @@ int32_t __thiscall winISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSe
.pszLauncherPartner = pszLauncherPartner,
};
TRACE("%p\n", _this);
IsBadStringPtrA(pszLauncherPartner, -1);
STEAMCLIENT_CALL( ISteamNetworkingSocketsSerialized_SteamNetworkingSocketsSerialized003_GetNetworkConfigJSON, &params );
return params._ret;
}