1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 22:41:00 +00:00
serenity/Userland
Linus Groh 392f5bfebd LibJS: Fix fraction substring range in parse_temporal_time_zone_string()
Two issues:

- The intended range was 9 characters starting from index 1. Since the
  second argument to String::substring() is the length, 10 is
  potentially reading further than the string's length (when only
  providing one fraction digit), causing an assertion failure crash.
- The spec's intention to skip the decimal separator by starting at
  index 1 is incorrect, no decimal separator is present in the result of
  parsing TimeZoneUTCOffsetFractionalPart. I filed a spec fix for this,
  see: https://github.com/tc39/proposal-temporal/pull/1999
2022-01-12 21:24:12 +01:00
..
Applets Applets/Audio: Propagate errors by extracting out GUI initialization 2022-01-11 09:19:09 -08:00
Applications Kernel: Rename ProcessorInfo::{m_brandstr => m_brand} 2022-01-12 16:09:09 +02:00
Demos Everywhere: Fix spelling mistakes 2022-01-07 15:44:42 +01:00
DevTools HackStudio: Use ProjectBuilder to build and run the current project 2022-01-12 14:55:19 +01:00
DynamicLoader Toolchain+Meta: Update LLVM version to 13.0.0 2021-10-17 17:09:58 +01:00
Games 2048: Add action icons for New Game and Settings 2022-01-10 00:58:40 -08:00
Libraries LibJS: Fix fraction substring range in parse_temporal_time_zone_string() 2022-01-12 21:24:12 +01:00
Services Taskbar: Include ScreenLayout.h from Services directory 2022-01-12 20:26:46 +02:00
Shell Shell: Add a "noop" builtin aliased to ":" 2022-01-09 12:25:36 +01:00
Utilities Meta: Fix Markdown linting 2022-01-12 13:13:24 +01:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00