Commit Graph

4 Commits

Author SHA1 Message Date
Ash
751ad68c50 deps/libiosuhax: Fix missing "#include <sys/iosupport.h>" 2018-09-09 18:29:42 +10:00
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
aliaspider
601fda9784 (WIIU) fix warnings 2017-12-31 14:06:03 +01:00
twinaphex
7c73930a87 Add libiosuhax/libfat 2017-12-19 22:12:58 +01:00