mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 14:16:12 +00:00
Do not assert when reading an exponent out of range.
llvm-svn: 111534
This commit is contained in:
parent
d009b9d0a8
commit
579b1bef32
@ -153,6 +153,7 @@ readExponent(StringRef::iterator begin, StringRef::iterator end)
|
||||
value += absExponent * 10;
|
||||
if (absExponent >= overlargeExponent) {
|
||||
absExponent = overlargeExponent;
|
||||
p = end; /* outwit assert below */
|
||||
break;
|
||||
}
|
||||
absExponent = value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user