Skip to content

Commit

Permalink
Merge pull request #474 from shikoko/ANDROID-618
Browse files Browse the repository at this point in the history
ANDROID-618 SQL Injection Vulnerability
  • Loading branch information
shikoko authored Jun 6, 2018
2 parents 2483058 + cb9cca6 commit 6019025
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion alfresco-mobile-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ android {

minSdkVersion 19
targetSdkVersion 23
versionCode 81
versionCode 82

versionName VERSION_NAME

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,8 @@ public interface VersionNumber
/** Release 24 April 2018. */
int VERSION_1_8_1 = 81;

int LATEST_VERSION = VERSION_1_8_1;
/** Release 5 June 2018 */
int VERSION_1_8_2 = 82;

int LATEST_VERSION = VERSION_1_8_2;
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
## DEFAULT BUILD VARIANT
####################################################################
# Current Version number of the application
VERSION_NAME=1.8.1
VERSION_NAME=1.8.2

# Build Number of the application
# Overrides by Continuous Integration System during build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ public Cursor query(Uri uri, String[] projection, String selection, String[] sel
// Check if the caller has requested a column which does not exists
checkColumns(projection);

queryBuilder.setStrict(true);
queryBuilder.setTables(SyncContentSchema.TABLENAME);

int uriType = URI_MATCHER.match(uri);
Expand Down

0 comments on commit 6019025

Please sign in to comment.