1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-15 23:46:40 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Sockets/Bsd
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
..
Impl Bsd: Implement Select (#4017) 2022-12-12 14:59:31 +01:00
Types Bsd: Implement Select (#4017) 2022-12-12 14:59:31 +01:00
BsdContext.cs Bsd: Implement Select (#4017) 2022-12-12 14:59:31 +01:00
IClient.cs bsd::RecvFrom: verify output buffer size before writing socket address (#4135) 2022-12-26 13:49:26 +00:00
IFileDescriptor.cs Bsd: Implement Select (#4017) 2022-12-12 14:59:31 +01:00
ISocket.cs Bsd: Implement Select (#4017) 2022-12-12 14:59:31 +01:00
ServerInterface.cs