1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-01-29 19:16:47 -06:00
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
..
2022-03-22 20:46:16 +01:00
2022-10-02 10:30:46 +02:00
2022-11-09 20:22:43 +01:00
2022-03-22 20:46:16 +01:00
2022-08-18 18:04:54 +02:00
2022-03-22 20:46:16 +01:00
2022-08-25 23:18:37 +02:00
2022-11-16 15:34:18 -03:00
2022-11-09 20:22:43 +01:00
2022-05-05 15:23:30 -03:00
2022-12-12 14:59:31 +01:00
2022-08-11 18:07:37 -03:00
2022-02-17 21:08:07 -03:00
2022-08-18 18:04:54 +02:00