| commit | 9959bb38ee65f2838e497bde5036cbbed408c2e5 | [log] [tgz] |
|---|---|---|
| author | Dan Blackwell <dan_blackwell@apple.com> | Tue Nov 04 11:03:59 2025 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Tue Nov 04 03:05:44 2025 -0800 |
| tree | 32ae9b6111bb65aca22b4cdf5bfc085d35a225a4 | |
| parent | 2adf626130a374d0f7951c61b144bc6b5947dec5 [diff] |
[ASan][Test-Only] Allow read of size 2 in strcmp.c test (#166179) Occasionally this test fails on Darwin due to `CHECK: READ of size 1` not matching the actual output `CHECK: READ of size 2`. This can happen when the memory before the string `s1` happens to match the first character of `s2`. This patch allows for `READ of size 2` to pass in order to account for the above circumstances. rdar://151317947 GitOrigin-RevId: 85c78274358717e4d5d019a801decba5c1add484