parent
94f0c7f56e
commit
bda63f82bf
@ -276,9 +276,7 @@ int __libqasan_posix_memalign(void **ptr, size_t align, size_t len) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t rem = len % align;
|
size_t size = len + align;
|
||||||
size_t size = len;
|
|
||||||
if (rem) size += rem;
|
|
||||||
|
|
||||||
int state = QASAN_SWAP(QASAN_DISABLED); // disable qasan for this thread
|
int state = QASAN_SWAP(QASAN_DISABLED); // disable qasan for this thread
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user