Ryujinx/Ryujinx.HLE/HOS
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
..
Applets Use method overloads that support trimming. Mark some types to be trimming friendly (#4083) 2022-12-12 15:10:05 +01:00
Diagnostics/Demangler Avoid allocations in .Parse methods (#3760) 2022-10-18 23:31:34 +00:00
Ipc misc: Make PID unsigned long instead of long (#3043) 2022-02-09 17:18:07 -03:00
Kernel Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
Services bsd::RecvFrom: verify output buffer size before writing socket address (#4135) 2022-12-26 13:49:26 +00:00
SystemState make UI display correct content in Chinese (#4155) 2022-12-21 17:20:37 -03:00
Tamper Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
ApplicationLoader.cs hle: Do not add disabled AoC item to the list (#4044) 2022-12-07 15:00:28 +01:00
ArmProcessContext.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
ArmProcessContextFactory.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
HomebrewRomFsStream.cs Misc cleanup (#708) 2019-07-02 04:39:22 +02:00
Horizon.cs ui: Fixes disposing on GTK/Avalonia and Firmware Messages on Avalonia (#3885) 2022-11-24 15:08:27 +01:00
IdDictionary.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
LibHacHorizonManager.cs Update to LibHac 0.17.0 (#3878) 2022-11-23 18:32:35 +01:00
ModLoader.cs Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
ProgramLoader.cs Rewrite kernel memory allocator (#3316) 2022-06-22 12:28:14 -03:00
ResultCode.cs Refactoring result codes (#731) 2019-07-14 16:04:38 -03:00
ServiceCtx.cs hos: Cleanup the project (#2634) 2021-09-15 01:24:49 +02:00
TamperMachine.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
UserChannelPersistence.cs Fix exiting emulator with multi programs (#1590) 2020-10-10 00:52:11 +02:00