[PATCH] D21310: [asan] Fix an overflow with an Allocator constant
Etienne Bergeron via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 14 11:12:29 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL272689: In asan on Windows 64-bit, this is one of the broken things (authored by etienneb).
Changed prior to commit:
http://reviews.llvm.org/D21310?vs=60608&id=60708#toc
Repository:
rL LLVM
http://reviews.llvm.org/D21310
Files:
compiler-rt/trunk/lib/asan/asan_allocator.cc
Index: compiler-rt/trunk/lib/asan/asan_allocator.cc
===================================================================
--- compiler-rt/trunk/lib/asan/asan_allocator.cc
+++ compiler-rt/trunk/lib/asan/asan_allocator.cc
@@ -223,7 +223,7 @@
struct Allocator {
static const uptr kMaxAllowedMallocSize =
- FIRST_32_SECOND_64(3UL << 30, 1UL << 40);
+ FIRST_32_SECOND_64(3UL << 30, 1ULL << 40);
static const uptr kMaxThreadLocalQuarantine =
FIRST_32_SECOND_64(1 << 18, 1 << 20);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21310.60708.patch
Type: text/x-patch
Size: 500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160614/173c6bbd/attachment.bin>
More information about the llvm-commits
mailing list