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 Android:Changes to simplify command-line building of the app, and bugfixes to the Gradle script 2015-07-13 09:37:44 -04:00
build.gradle Android: Upgrade Kotlin to 1.8.10 2023-03-15 23:58:11 -04:00
code-style-java.xml Android: Update code-style-java for androidx files 2020-09-08 05:59:08 -04:00
gradle.properties Android: Introduce Kotlin support 2022-12-11 12:59:58 -05:00
gradlew Convert the Android source code to the directory structure of a Gradle-based Android Studio project. 2015-05-02 21:49:17 -04:00
gradlew.bat Convert the Android source code to the directory structure of a Gradle-based Android Studio project. 2015-05-02 21:49:17 -04:00
settings.gradle Android: Introduce Kotlin support 2022-12-11 12:59:58 -05:00