diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-19 12:40:06 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 12:43:21 -0400 |
commit | 9b22f856c2f644af721568a6f6b23bd66e7beb93 (patch) | |
tree | 841c4a2ad026152dcf1571f3bab77860567da796 /src/common/string_util.cpp | |
parent | 758c357868fca86edf3642a5a7e658839d35183c (diff) |
loader/nso: Check if read succeeded in IdentifyFile() before checking magic value
We should always assume the filesystem is volatile and check each IO
operation. While we're at it reorganize checks so that early-out errors
are near one another.
Diffstat (limited to 'src/common/string_util.cpp')
0 files changed, 0 insertions, 0 deletions