RetroArch/deps/libiosuhax
gblues f9b548492e Add input validation to iosuhax
== DETAILS

I believe this should (at least partially) resolve #6025.

In my own testing, I haven't been able to reproduce the DSI error,
but I have encountered the black-screen crashes and could reliably
(but not predictably) reproduce the crash by simply switching
between cores.

Looking at the DSI error, the crash occurs within iosuhax. So, I looked
at that code.. and basically none of the input pointers are validated.

Yikes.

This commit adds pointer sanity checking to all of the iosuhax code.

== TESTING

When I did a test build, I noticed two things:

1. No more black screen crashes!
2. In lieu of the crash, it looks like the network logging dies. RA itself
   seems to continue working just fine.
2018-01-06 14:59:48 -08:00
..
iosuhax_devoptab.c Add input validation to iosuhax 2018-01-06 14:59:48 -08:00
iosuhax_devoptab.h Add libiosuhax/libfat 2017-12-19 22:12:58 +01:00
iosuhax_disc_interface.c Add input validation to iosuhax 2018-01-06 14:59:48 -08:00
iosuhax_disc_interface.h Add libiosuhax/libfat 2017-12-19 22:12:58 +01:00
iosuhax.c Add input validation to iosuhax 2018-01-06 14:59:48 -08:00
iosuhax.h Add libiosuhax/libfat 2017-12-19 22:12:58 +01:00
os_functions.h Add libiosuhax/libfat 2017-12-19 22:12:58 +01:00