Fix OOB Read in setOperandValue

Bug: 269456018
Test: Run the POC
(cherry picked from https://android-review.googlesource.com/q/commit:c45bdb6ac47bf8cf2853144e82910f43f2f0b1e9)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5d81dcf032155c2967f613629bb67f629f835636)
Merged-In: I7325d56a380f05753356875623a2b5eaba3ca578
Change-Id: I7325d56a380f05753356875623a2b5eaba3ca578
1 file changed