Chromium Code Reviews
DescriptionCatch potential integer overflows in bigint operations.
strlen() returns a size_t which usually is unsigned long. Since we assign it to
intptr_t, we need to check for a potential integer overflow. The (albeit very
unlikely) case is lengths>2G on 32bit platforms.
BUG=
R=asiva@google.com
Committed: https://code.google.com/p/dart/source/detail?r=27589
Patch Set 1 #Patch Set 2 : #
Total comments: 4
Patch Set 3 : addressed comments #
Total comments: 2
Patch Set 4 : #Patch Set 5 : #Messages
Total messages: 7 (0 generated)
|