 Chromium Code Reviews
 Chromium Code Reviews Issue 
            1096063002:
    Fix array allocation overflow check on arm/arm64/mips.  (Closed)
    
  
    Issue 
            1096063002:
    Fix array allocation overflow check on arm/arm64/mips.  (Closed) 
  | DescriptionFix array allocation overflow check on arm/arm64/mips.
When adding an object size in bytes to the allocation top address,
we must check for *unsigned* overflow, not signed overflow. 32-bit example:
if top is 0xfffff000 and size is 0x1008, then top + size is an unsigned,
but not a signed, overflow.
Add similar unit test for typed data (same issue).
BUG=23254
R=regis@google.com
Committed: https://code.google.com/p/dart/source/detail?r=45354
   Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #Patch Set 6 : #
      Total comments: 11
      
     Patch Set 7 : #Patch Set 8 : #
 Messages
    Total messages: 11 (2 generated)
     | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||