fish-shell/src
Mahmoud Al-Qudsi edd82be58d Fix crash on invalid CSI parameters
If a semicolon-delimited list of CSI parameters contained an (invalid) long
sequence of ascii numeric characters, the original code would keep multiplying
by ten and adding the most recent ones field until the `params[count][subcount]`
u32 value overflowed.

This was found via automated fuzz testing of the `try_readch()` routine against
a corpus of some proper/valid CSI escapes.
2024-11-20 15:01:34 -06:00
..
bin Fix regression causing mbrtowc(argv) to be called before setlocale() 2024-11-16 20:46:06 +01:00
builtins Fix some clippies and remove some dead code 2024-11-17 12:37:45 -08:00
env Import portable_atomic::AtomicU64 when std does not provide it 2024-08-11 14:50:39 +02:00
fork_exec Use Option<Pid> instead of Option<pid_t> 2024-11-14 13:02:03 -06:00
history Don't try locking the history file if mmap returns ENODEV 2024-11-02 12:09:51 -07:00
tests bind: Remove "c-" and "a-" shortcut notation 2024-11-13 17:48:15 +01:00
universal_notifier Add kqueue-based uvar notifier for BSD (#10674) 2024-08-26 17:10:26 -05:00
widecharwidth Update widecharwidth for Unicode 16 2024-09-24 17:00:13 +02:00
wutil Fix some clippies and remove some dead code 2024-11-17 12:37:45 -08:00
abbrs.rs
ast.rs Fix some dumb clippies 2024-10-27 18:20:49 -07:00
autoload.rs
color.rs
common.rs Make SIGTERM handler async-signal-safe again 2024-10-21 09:30:47 +02:00
complete.rs Do not add a space after completing inside brace expansion 2024-10-19 22:06:05 +02:00
curses.rs Remove yet more dead code 2024-06-29 18:03:52 -07:00
editable_line.rs Silence unused imports for backports 2024-10-26 22:28:37 +02:00
env_dispatch.rs Revert "Resume repainting command line when colors change" 2024-08-25 18:41:31 -07:00
env_universal_common.rs Revert libc time_t changes 2024-08-27 14:28:00 +02:00
event.rs Fix some clippies and remove some dead code 2024-11-17 12:37:45 -08:00
exec.rs Remove unnecessary Pid::get() calls 2024-11-14 13:02:03 -06:00
expand.rs Do not add a space after completing inside brace expansion 2024-10-19 22:06:05 +02:00
fallback.rs
fd_monitor.rs Revert libc time_t changes 2024-08-27 14:28:00 +02:00
fd_readable_set.rs Revert libc time_t changes 2024-08-27 14:28:00 +02:00
fds.rs Fix typo 2024-10-09 12:36:58 +02:00
fish_test_helper.c fish_test_helper: Fix warnings about intentionally unused results 2024-08-31 13:16:51 -05:00
flog.rs Temporarily enable history_file debug category by default 2024-10-09 14:51:54 +02:00
function.rs Use strongly typed Option<Pid> for event handler 2024-11-14 13:02:03 -06:00
future_feature_flags.rs
future.rs
global_safety.rs
highlight.rs Relax history autosuggestion and highlighting if cd is wrapped 2024-09-14 08:51:42 +02:00
history.rs Further expand the list of filesystems considered remote 2024-11-02 11:59:34 -07:00
input_common.rs Fix crash on invalid CSI parameters 2024-11-20 15:01:34 -06:00
input.rs Commands to move by entire tokens 2024-10-05 22:43:39 +02:00
io.rs Clean up fd_monitor getter 2024-09-22 14:02:55 -07:00
job_group.rs Deduplicate jobs passed to disown builtin 2024-11-14 13:24:55 -06:00
key.rs bind: Remove "c-" and "a-" shortcut notation 2024-11-13 17:48:15 +01:00
kill.rs
lib.rs Clean up fish-printf in preparation for publishing 2024-09-21 17:52:11 -07:00
libc.c Revert libc time_t changes 2024-08-27 14:28:00 +02:00
libc.rs Revert libc time_t changes 2024-08-27 14:28:00 +02:00
locale.rs Remove some (hopefully) unnecessary clippy and compiler directives 2024-06-23 17:13:14 -07:00
nix.rs Revert libc time_t changes 2024-08-27 14:28:00 +02:00
null_terminated_array.rs Remove yet more dead code 2024-06-29 18:03:52 -07:00
operation_context.rs
output.rs
pager.rs Also handle overflown screens if editing pager search field 2024-10-27 08:17:56 +01:00
panic.rs Prevent test suite from hanging on panic 2024-11-11 16:45:13 -06:00
parse_constants.rs
parse_execution.rs Fix completion failing on unclosed brace with wildcard 2024-10-19 22:04:54 +02:00
parse_tree.rs Use NonZero types for 1-based line numbers 2024-07-07 20:58:09 -05:00
parse_util.rs edit_command_buffer: speed up setting cursor position by line/column 2024-11-01 20:09:55 +01:00
parser_keywords.rs
parser.rs Use strongly typed Pid for job control 2024-11-14 13:02:03 -06:00
path.rs Further expand the list of filesystems considered remote 2024-11-02 11:59:34 -07:00
print_help.rs Clean up print_help 2024-11-17 17:03:34 -08:00
proc.rs Fix some clippies and remove some dead code 2024-11-17 12:37:45 -08:00
re.rs
reader_history_search.rs
reader.rs Fix regression causing alt-right to stop at autosuggestion 2024-11-16 13:05:44 +01:00
redirection.rs Remove yet more dead code 2024-06-29 18:03:52 -07:00
screen.rs Fix regression causing crash when we should clamp negative wcwidth 2024-11-07 07:36:36 +01:00
signal.rs Make SIGTERM handler async-signal-safe again 2024-10-21 09:30:47 +02:00
termsize.rs Remove yet more dead code 2024-06-29 18:03:52 -07:00
threads.rs Update threads::thread_id() documentation 2024-08-31 12:57:13 -05:00
timer.rs Revert libc time_t changes 2024-08-27 14:28:00 +02:00
tinyexpr.rs math: Nicer error for non-ascii-lowercase identifiers 2024-09-18 22:27:00 +02:00
tokenizer.rs Do not add a space after completing inside brace expansion 2024-10-19 22:06:05 +02:00
topic_monitor.rs Rename binary_semaphore_t to BinarySemaphore 2024-06-29 18:07:11 -07:00
trace.rs
util.rs Stop using the getrandom feature of the rand crate 2024-10-13 12:39:54 -07:00
wait_handle.rs Use strongly typed Pid for job control 2024-11-14 13:02:03 -06:00
wchar_ext.rs
wchar.rs Clean up fish-printf in preparation for publishing 2024-09-21 17:52:11 -07:00
wcstringutil.rs
wgetopt.rs
wildcard.rs Do not add a space after completing inside brace expansion 2024-10-19 22:06:05 +02:00