mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 13:48:25 +00:00
NewArray now only contains two elements maximum in `m_elements` to indicate the range of registers to create the array from. However, `m_element_count` still contains how many registers are in the range and the stringifier was not updated to account for this. Thus, if the range contained more than 2 registers, it would do a read OOB on `m_elements`. This makes it now just print the first and second entries in `m_elements` in the format of `[<reg>-<reg>]`.
40 KiB
40 KiB