diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:23:44 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:23:44 +0000 |
commit | e969c2e894819e9d74824b1af5a3dbb0b790e87a (patch) | |
tree | 299efbccc7f71daa67253b5d436c4bcdfaeddf9e /tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/OtherParcelableForToString.cpp | |
parent | a0b59034b81c3dc28f54d0e234bb6eb628b7f670 (diff) | |
parent | 1487d3a350538efd795d41e681242d363bdbc2f9 (diff) | |
download | aidl-android14-mainline-uwb-release.tar.gz |
Snap for 10453563 from 1487d3a350538efd795d41e681242d363bdbc2f9 to mainline-uwb-releaseaml_uwb_341710010aml_uwb_341513070aml_uwb_341511050aml_uwb_341310300aml_uwb_341310030aml_uwb_341111010aml_uwb_341011000android14-mainline-uwb-release
Change-Id: I0b6e05e363f096e2bf4b873e94063d78112ab519
Diffstat (limited to 'tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/OtherParcelableForToString.cpp')
-rw-r--r-- | tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/OtherParcelableForToString.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/OtherParcelableForToString.cpp b/tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/OtherParcelableForToString.cpp index a47a1b6b..534d6ce5 100644 --- a/tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/OtherParcelableForToString.cpp +++ b/tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/OtherParcelableForToString.cpp @@ -13,7 +13,7 @@ namespace tests { } if (_aidl_parcelable_raw_size < 4) return ::android::BAD_VALUE; size_t _aidl_parcelable_size = static_cast<size_t>(_aidl_parcelable_raw_size); - if (_aidl_start_pos > SIZE_MAX - _aidl_parcelable_size) return ::android::BAD_VALUE; + if (_aidl_start_pos > INT32_MAX - _aidl_parcelable_size) return ::android::BAD_VALUE; if (_aidl_parcel->dataPosition() - _aidl_start_pos >= _aidl_parcelable_size) { _aidl_parcel->setDataPosition(_aidl_start_pos + _aidl_parcelable_size); return _aidl_ret_status; |