ryujinx/Ryujinx.HLE/HOS/Services
gnisman a4fdfb5f94
bsd::RecvFrom: verify output buffer size before writing socket address (#4135)
* bsd::RecvFrom: Ryujinx does not verify output buffer size before writing socket address

* Calculate the size of BsdSockAddr

* use bsdSockAddr variable

* Update Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs

Co-authored-by: Mary-nyan <thog@protonmail.com>

* Update Ryujinx.HLE/HOS/Services/Sockets/Bsd/Types/BsdSockAddr.cs

Co-authored-by: Mary-nyan <thog@protonmail.com>

* set errno to ENOMEM in case we can't write the address to memory

* Update Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs

Co-authored-by: Ac_K <Acoustik666@gmail.com>

* Update Ryujinx.HLE/HOS/Services/Sockets/Bsd/IClient.cs

Co-authored-by: Mary-nyan <thog@protonmail.com>
Co-authored-by: Ac_K <Acoustik666@gmail.com>
2022-12-26 13:49:26 +00:00
..
Account Some minor cleanups and optimizations (#4174) 2022-12-24 14:30:39 -03:00
Am Fix Redundant Qualifer Warnings (#4091) 2022-12-10 21:21:13 +01:00
Apm Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
Arp hle: Some cleanup (#3210) 2022-03-22 20:46:16 +01:00
Audio amadeus: Fixes and initial 15.0.0 support (#3908) 2022-11-28 08:28:45 +01:00
Bcat Fix memory corruption in BCAT and FS Read methods when buffer is larger than needed (#3739) 2022-10-04 20:12:54 -03:00
Bgtc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Bluetooth Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
BluetoothManager Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
Caps Some minor cleanups and optimizations (#4174) 2022-12-24 14:30:39 -03:00
Cec Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ectx am/ectx: Implement SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled and add service placeholder (#2136) 2021-03-25 23:25:49 +01:00
Erpt Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Es Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Eupld Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Fatal fatal: Implement Service (#3573) 2022-10-02 10:30:46 +02:00
Friend hle: Fix wrong conversion in UserPresence.ToString (#4142) 2022-12-18 14:23:19 +00:00
Fs Fix Redundant Qualifer Warnings (#4091) 2022-12-10 21:21:13 +01:00
Grc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Hid hid/irs: Stub StopImageProcessorAsync (#3799) 2022-10-27 21:36:37 +00:00
Ins Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Lbl Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
Ldn Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
Lm HLE: Fix integer sign inconcistency accross the codebase (#2222) 2021-04-24 12:16:01 +02:00
Loader Add various error codes to Loader (#1208) 2020-05-04 13:22:28 +02:00
Mig Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Mii infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00
Mm mm: Cleaned up the service a bit (#2233) 2021-04-22 23:35:01 +02:00
Mnpp Implement/Stub mnpp:app service and some hid calls (#3131) 2022-02-18 02:00:06 +01:00
Ncm hle: Some cleanup (#3210) 2022-03-22 20:46:16 +01:00
News Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Nfc Use method overloads that support trimming. Mark some types to be trimming friendly (#4083) 2022-12-12 15:10:05 +01:00
Ngct Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
Nifm Use new C# 11 u8 string literals (#3854) 2022-11-16 16:30:12 -03:00
Nim hle: Some cleanup (#3210) 2022-03-22 20:46:16 +01:00
Notification Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Npns Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ns misc: Make PID unsigned long instead of long (#3043) 2022-02-09 17:18:07 -03:00
Nv hle: Handle GPU profiler and debugger device path correctly (#4138) 2022-12-21 18:23:11 +00:00
Olsc oslc: Fix condition in GetSaveDataBackupSetting (#3208) 2022-03-20 13:25:29 -03:00
Ovln Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pcie Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pctl pctl: Implement EndFreeCommunication 2022-08-25 23:18:37 +02:00
Pcv Some minor cleanups and optimizations (#4174) 2022-12-24 14:30:39 -03:00
Pm Implement PM GetProcessInfo atmosphere extension (partially) (#2966) 2022-05-03 23:28:32 +02:00
Prepo Make use of Random.Shared (#3852) 2022-11-16 15:34:18 -03:00
Psc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ptm HLE: fix small issue in IPsmSession (#3909) 2022-11-27 01:10:42 +00:00
Ro Some minor cleanups and optimizations (#4174) 2022-12-24 14:30:39 -03:00
Sdb Reduce usage of Marshal.PtrToStructure and Marshal.StructureToPtr (#3805) 2022-11-24 15:26:29 +01:00
Settings infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00
Sm Enable JIT service LLE (#2959) 2022-05-05 15:23:30 -03:00
Sockets bsd::RecvFrom: verify output buffer size before writing socket address (#4135) 2022-12-26 13:49:26 +00:00
Spl Update units of memory from decimal to binary prefixes (#3716) 2022-11-16 23:27:42 +01:00
Srepo Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ssl Bsd: Implement Select (#4017) 2022-12-12 14:59:31 +01:00
SurfaceFlinger Allow Surface Flinger frame enqueue after process has exited (#3733) 2022-10-02 21:50:03 +00:00
Time Some minor cleanups and optimizations (#4174) 2022-12-24 14:30:39 -03:00
Usb Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Vi Rename ToSpan to AsSpan (#3556) 2022-08-11 18:07:37 -03:00
Wlan Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
CommandHIpcAttribute.cs Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
CommandTIpcAttribute.cs Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
DisposableIpcService.cs Add dedicated ServerBase for FileSystem services (#3142) 2022-02-19 15:29:11 +01:00
DummyService.cs
IpcService.cs Added trace log level (#3096) 2022-02-17 21:08:07 -03:00
ServerBase.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
ServiceAttributes.cs IPC refactor part 1: Use explicit separate threads to process requests (#1447) 2020-09-22 14:50:40 +10:00