mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-24 09:21:16 -03:00
Use wrapping arithmetic when parsing octal and hex escapes in echo to prevent panics on overflow and ensure consistent behavior with other shells. This change allows echo to process escape sequences like \5555 without crashing, keeping the same behavior as 3.7.1. ``` $ ./fish --version fish, version 3.7.1 $ ./fish -c 'echo -e "\5555"' m5 ```