1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-21 16:12:10 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Sockets
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
..
Bsd bsd::RecvFrom: verify output buffer size before writing socket address (#4135) 2022-12-26 13:49:26 +00:00
Ethc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Nsd Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
Sfdnsres Bsd: Add support for dns_mitm (#4102) 2022-12-12 18:04:08 +01:00