Fix integer overflow in ASN.1 parsing functions.

Bug: 6274291
Change-Id: Id0850ce39aebfc9018c0459ec3147e05506a646f
6 files changed