Android 7.1.1 Release 49 (N9F27H)
-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAll7nS0ACgkQ6K0/gZqxDnguYgCfV6U45ISUghqIrMzLe04bvN4d
isIAn0xuAVcX7WGbzGQNAIMrEJf+/9Fl
=gcZD
-----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.

BUG=30745403

Change-Id: Ia21418545bbaeb96fb5ab6c3f4e71858e57b8684
1 file changed