dolphin/Source/Android
JosJuice 8e363c0995 Android: Translate C++ "w" to ParcelFileDescriptor "wt"
Previously we were translating "w" to "w", which unlike in C++ doesn't
truncate. See https://issuetracker.google.com/issues/180526528, and for
reference, https://en.cppreference.com/w/cpp/io/c/fopen and
https://en.cppreference.com/w/cpp/io/basic_filebuf/open.

This issue was brought to my attention by the recently published issue
CVE-2023-21036 in the screenshot editing tool on Pixel phones. I'm not
aware of any code in Dolphin that actually uses "w" with an existing
file on Android (when we ask the user for a location to save to using
SAF, a new file is always created), but still, best to fix this.
2023-03-18 13:44:01 +01:00
..
app Merge pull request #11659 from JosJuice/android-after-dirinit-runner-cleanup 2023-03-16 17:12:58 +01:00
benchmark Android: Remove unused benchmark flags 2023-03-15 23:57:47 -04:00
gradle/wrapper Android: Update gradle to 8.0 2023-03-15 23:58:11 -04:00
jni Android: Translate C++ "w" to ParcelFileDescriptor "wt" 2023-03-18 13:44:01 +01:00
.gitignore
build.gradle Android: Upgrade Kotlin to 1.8.10 2023-03-15 23:58:11 -04:00
code-style-java.xml
gradle.properties Android: Introduce Kotlin support 2022-12-11 12:59:58 -05:00
gradlew
gradlew.bat
settings.gradle Android: Introduce Kotlin support 2022-12-11 12:59:58 -05:00