Files
ppsspp/Core/HLE
Henrik RydgårdandClaude Opus 5.5 74178a8106 sceNetAdhoc: Check the game's ad hoc buffers by their full length
Calls that checked one byte of a buffer, then used the game's length:
- GetPeerList and GetAddrByName cleared that many bytes; GetPdpStat and
  GetPtpStat filled that many entries. Clamped to valid memory.
- PollSocket read and wrote count entries.
- GetNameByAddr, GetPeerInfo, Join, GetGameModeInfo and UpdateReplica
  wrote or read whole structs.
- PtpSend and PtpRecv used the whole data length.
- PdpSend and PdpRecv took host pointers from generic wrappers. Their
  syscalls now check the game's buffers and pass NULL for bad ones,
  which the calls already reject, since game mode calls the functions
  with host buffers.
- Matching SelectTarget, CancelTargetWithOpt and SendData copied the
  whole opt or data length. GetMembers cleared a NULL buffer when given
  a bad one.

Also: the matching thread list is savestated without the contexts, so a
context's index may be past its end after a load.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 11:50:17 +01:00
..
2026-08-11 10:28:36 +02:00
2025-07-20 19:30:35 +02:00
…
…
…
…
2023-12-09 18:08:19 +01:00
2025-07-20 19:32:05 +02:00
2025-02-14 09:50:55 -06:00
2026-10-26 12:10:10 +01:00
…
2026-08-11 10:28:47 +02:00
2025-04-03 14:13:50 +02:00
2026-08-11 20:14:01 +02:00
…
…