Skip to content
Commit 149fec4b authored by Colin Cross's avatar Colin Cross
Browse files

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
parent e1c3bb6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment