Disable asan on last wide string function
This commit is contained in:
parent
3596005148
commit
e90ce511e0
@ -116,8 +116,9 @@ template <typename T> LIBC_INLINE size_t string_length(const T *src) {
|
||||
}
|
||||
|
||||
template <typename Word>
|
||||
LIBC_INLINE void *find_first_character_wide_read(const unsigned char *src,
|
||||
unsigned char ch, size_t n) {
|
||||
[[gnu::no_sanitize_address]] LIBC_INLINE void *
|
||||
find_first_character_wide_read(const unsigned char *src, unsigned char ch,
|
||||
size_t n) {
|
||||
const unsigned char *char_ptr = src;
|
||||
size_t cur = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user