replicant-packages_apps_Email/provider_src/com/android/email
Rohan Shah a549245b2f Limit account id and id to longs
The security issue occurs because id is allowed to be an arbitrary
path instead of being limited to what it is -- a long. Both id
and account id are now parsed into longs (and if either fails, an
error will be logged and null will be returned).

Tested/verified error is logged using the reported attack.

BUG=30745403

Change-Id: Ia21418545bbaeb96fb5ab6c3f4e71858e57b8684
(cherry picked from commit 9794d7e8216138adf143a3b6faf3d5683316a662)
2016-08-26 16:22:04 -07:00
..
activity/setup Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
mail Add additional analytics regarding our SSLSockets 2014-10-24 14:46:33 -07:00
provider Limit account id and id to longs 2016-08-26 16:22:04 -07:00
service Merge "Resend notifications when Accounts are changed" into ub-gmail-ur14-dev 2014-10-15 12:38:35 +00:00
setup Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
AttachmentInfo.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
DebugUtils.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
EmailConnectivityManager.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
EmailIntentService.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
FixedLengthInputStream.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
LegacyConversions.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
NotificationController.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
NotificationControllerCreator.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
NotificationControllerCreatorHolder.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
PeekableInputStream.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
Preferences.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
ResourceHelper.java Changes to support smaller email tombstone apk size 2014-09-16 13:59:07 -07:00
SecurityPolicy.java Don't allow disabling of the camera with managed profiles 2014-09-25 13:48:11 -07:00