[automerger skipped] Merge "Fail explicitly on length overflow." into oc-dev am: ea8d38e77f am: cf91151364 am: 84dcff4c6b am: cf6c14c850 -s ours am: 6f734f4802 -s ours am: 2384ca2ae5 -s ours am: 6d76455283 -s ours

am skip reason: Change-Id Ie49975b8949fd12bbde14346ec9bbb774ef88a51 with SHA-1 40f657b9f4 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/11619803

Change-Id: I09d186e53c9dcf115f975b42b0d6bc1eca3a71e8