diff options
author | Andrei Homescu <ahomescu@google.com> | 2022-12-02 23:48:31 +0000 |
---|---|---|
committer | Ayrton Munoz <ayrton@google.com> | 2022-12-04 23:58:33 +0000 |
commit | 77a94784054ca19b2ca67ded19d5b69ce7cc3b7f (patch) | |
tree | 3e46f5d1a609c4f43f05fadeb1b204fa576f56a1 /lib/fixed_point | |
parent | 96f1f117f76cda66a9a0e2b2124cdfeb7295d9a3 (diff) | |
download | common-77a94784054ca19b2ca67ded19d5b69ce7cc3b7f.tar.gz |
lib/libc: Replace long => uintptr_t in mem{cpy,move}
The lk implementations of mem{cpy,move} internally
cast some pointers to long, which triggers UBSan.
This replaces the target type with uintptr_t which
fixes the issue (and it matches the original char*
pointer types better).
Bug: 231151995
Change-Id: Ia915baae1f167204aaffe4998d4f75a9e516677a
Diffstat (limited to 'lib/fixed_point')
0 files changed, 0 insertions, 0 deletions