v8/src
Jakob Kummerow 45fc148601 [bigint] Max parts when parsing: fix off-by-one
The very last part skipped the max_digits check, and earlier parts
forgot to account for that in their check. The reason why the last
part originally got special treatment no longer applies, so we can
fix this bug by removing the special case, simplifying the overall
logic.

Fixed: chromium:1248972
Change-Id: I1857dd8b63c00f9bdfb9237f2ea3621ecc1339e2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3160522
Auto-Submit: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Maya Lekova <mslekova@chromium.org>
Reviewed-by: Maya Lekova <mslekova@chromium.org>
Cr-Commit-Position: refs/heads/main@{#76842}
2021-09-15 13:20:28 +00:00
..
api [string] Make WriteToFlat take 'length' instead of 'end' 2021-09-14 09:30:29 +00:00
asmjs [wasm] Support reftypes tables in WasmModuleBuilder 2021-08-31 10:02:19 +00:00
ast [regexp] Break dependency on JSRegExp::Flags 2021-08-19 09:12:55 +00:00
base Reland^2 "[wasm][test] Fix test expectation" 2021-09-15 13:04:08 +00:00
baseline [riscv64] When load imm32, ensure imm32 + 0x800 is int32 2021-09-14 01:39:50 +00:00
bigint [bigint] Max parts when parsing: fix off-by-one 2021-09-15 13:20:28 +00:00
builtins [Temporal] Preparation Refactor 2 2021-09-14 19:47:18 +00:00
codegen [string] Add PtrCage for ExternalString::GetChars 2021-09-15 09:29:38 +00:00
common Argument Count Consistency 2021-09-07 15:34:40 +00:00
compiler [riscv64] Implement RVV float 2021-09-15 07:54:58 +00:00
compiler-dispatcher Remove rmcilroy from OWNERS. 2021-08-19 16:30:27 +00:00
d8 [sparkplug] Remove BaselineData, use Code directly 2021-09-06 11:52:21 +00:00
date [Temporal] Preparation refactorying 2021-08-26 17:27:12 +00:00
debug [inspector] Speed up DebugPropertyIterator. 2021-09-13 12:52:11 +00:00
deoptimizer Revert "[Temporal] Part 1 - Skeleton" 2021-09-14 18:17:38 +00:00
diagnostics [riscv64] Implement RVV float 2021-09-15 07:54:58 +00:00
execution [riscv64] Implement RVV float 2021-09-15 07:54:58 +00:00
extensions [interpreter] Port GetDispatchCountersObject to internal 2021-08-25 09:50:51 +00:00
flags Revert "[Temporal] Part 1 - Skeleton" 2021-09-14 18:17:38 +00:00
handles Adjust Monorail label for garbage collection 2021-08-30 09:53:13 +00:00
heap [string] Add PtrCage for ExternalString::GetChars 2021-09-15 09:29:38 +00:00
ic [sparkplug] Fix IC tracing 2021-09-09 08:38:41 +00:00
init Revert "[Temporal] Part 1 - Skeleton" 2021-09-14 18:17:38 +00:00
inspector [inspector] Speed up DebugPropertyIterator. 2021-09-13 12:52:11 +00:00
interpreter Argument Count Consistency 2021-09-07 15:34:40 +00:00
json [string] Add PtrCage for ExternalString::GetChars 2021-09-15 09:29:38 +00:00
libplatform Introduce v8_enable_virtual_memory_cage 2021-08-11 16:13:42 +00:00
libsampler Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
logging [wasm][turbofan] Set up basic inlining infrastructure 2021-09-07 10:57:30 +00:00
numbers [string] Add PtrComprCageBase to WriteToFlat, HashString, and Get 2021-09-13 15:43:40 +00:00
objects [string] Add PtrCage for ExternalString::GetChars 2021-09-15 09:29:38 +00:00
parsing [string] Add PtrCage for ExternalString::GetChars 2021-09-15 09:29:38 +00:00
profiler [sparkplug] Remove BaselineData, use Code directly 2021-09-06 11:52:21 +00:00
protobuf Remove petermarshall from OWNERS 2021-03-31 11:00:22 +00:00
regexp [loong64][regexp] Support unaligned accesses in regexp 2021-09-02 07:26:16 +00:00
roots Adjust Monorail label for garbage collection 2021-08-30 09:53:13 +00:00
runtime [string] Make WriteToFlat take 'length' instead of 'end' 2021-09-14 09:30:29 +00:00
sanitizer Reland "[elements] Avoid racy data reads/writes" 2021-05-06 10:46:52 +00:00
snapshot [sparkplug] Remove BaselineData, use Code directly 2021-09-06 11:52:21 +00:00
strings [string] Make WriteToFlat take 'length' instead of 'end' 2021-09-14 09:30:29 +00:00
tasks Remove rmcilroy from OWNERS. 2021-08-19 16:30:27 +00:00
third_party Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
torque [torque] Fix argument count consistency for cross-compilation 2021-09-15 08:35:28 +00:00
tracing [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
trap-handler [traphandler] Add comment about section splitting 2021-08-11 12:41:32 +00:00
utils Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
wasm [riscv64] Implement RVV float 2021-09-15 07:54:58 +00:00
web-snapshot Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
zone Fix most instances of -Wunreachable-code-aggressive. 2021-07-01 03:03:25 +00:00
DEPS cppgc: Prohibit Oilpan usage from within V8 2021-08-25 08:24:33 +00:00
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
OWNERS Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00