| commit | 149fec4b576e0f27cd6540d8543b28efde28f1fc | [log] [tgz] |
|---|---|---|
| author | Colin Cross <ccross@android.com> | Fri Feb 10 20:41:53 2023 -0800 |
| committer | Colin Cross <ccross@android.com> | Fri Feb 10 20:41:53 2023 -0800 |
| tree | 40a8b8eda909825643f9603b0ba0d5ad877119b7 | |
| parent | e1c3bb6d49873c83f202bcd763611792efb14958 [diff] |
Fix stack overflow in PhoneNumberUtilsTest Leave space for adding the trailing null in the buffer used to call phone_number_stripped_reversed_inter, and add an assertion to prevent writing outside the buffer. Test: USE_HOST_MUSL=true atest --host --no-bazel libsqlite3_phone_number_utils_test Change-Id: Idbca51b38a7104536f9675c623f8e221663f6455