mirror of
https://github.com/nushell/nushell.git
synced 2025-08-18 19:28:50 +02:00
# Description Trying to parse non-UTF8 data as a value with unit (part of every literal parse) introduced a replacement character which shifted the span information so the indices where incorrect and triggered a panic. This has been resolved by removing a bad `String::from_utf8_lossy` # User-Facing Changes One less possible panic # Tests + Formatting Added a test with the original reproducer from fuzzing: File with `0\xffB` where the `\xff` represents the non utf-8 char `FF` run as a script to trigger