Android CTS 7.0 Release 14 (4372023)
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
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.
(cherry picked from commit 9794d7e8216138adf143a3b6faf3d5683316a662)
1 file changed