neovim/test/functional/legacy
zeertzjq 6967c08840 vim-patch:9.1.0648: [security] double-free in dialog_changed()
Problem:  [security] double-free in dialog_changed()
          (SuyueGuo)
Solution: Only clear pointer b_sfname pointer, if it is different
          than the b_ffname pointer.  Don't try to free b_fname,
          set it to NULL instead.

fixes: vim/vim#15403

Github Advisory:
https://github.com/vim/vim/security/advisories/GHSA-46pw-v7qw-xc2f

b29f4abcd4

Co-authored-by: Christian Brabandt <cb@256bit.org>
2024-08-03 08:25:43 +08:00
..
002_filename_recognition_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
004_bufenter_with_modelines_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
005_bufleave_delete_buffer_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
007_ball_buffer_list_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
008_autocommands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
011_autocommands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
012_directory_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
015_alignment_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
018_unset_smart_indenting_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
019_smarttab_expandtab_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
020_blockwise_visual_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
021_control_wi_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
023_edit_arguments_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
025_jump_tag_hidden_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
026_execute_while_if_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
028_source_ctrl_v_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
029_join_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
030_fileformats_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
031_close_commands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
033_lisp_indent_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
034_user_function_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
035_increment_and_decrement_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
036_regexp_character_classes_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
038_virtual_replace_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
039_visual_block_mode_commands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
043_magic_settings_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
044_099_regexp_multibyte_magic_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
046_multi_line_regexps_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
054_buffer_local_autocommands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
055_list_and_dict_types_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
056_script_local_function_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
057_sort_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
060_exists_and_has_functions_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
061_undo_tree_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
063_match_and_matchadd_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
065_float_and_logic_operators_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
066_visual_block_tab_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
067_augroup_exists_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
068_text_formatting_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
069_multibyte_formatting_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
072_undo_file_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
074_global_var_in_viminfo_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
078_swapfile_recover_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
081_coptions_movement_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
082_string_comparison_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
083_tag_search_with_file_encoding_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
090_sha256_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
091_context_variables_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
092_mksession_cursor_cols_utf8_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
093_mksession_cursor_cols_latin1_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
094_visual_mode_operators_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
095_regexp_multibyte_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
096_location_list_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
097_glob_path_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
101_hlsearch_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
102_fnameescape_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
103_visual_mode_reset_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
106_errorformat_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
107_adjust_window_and_contents_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
108_backtrace_debug_commands_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
arglist_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
assert_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
autochdir_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
autocmd_option_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
autocmd_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
autoformat_join_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
breakindent_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
changelist_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
charsearch_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
close_count_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
cmdline_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
command_count_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
comparators_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
conceal_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
cpoptions_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
crash_spec.lua vim-patch:9.1.0648: [security] double-free in dialog_changed() 2024-08-03 08:25:43 +08:00
debugger_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
delete_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
digraph_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
display_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
edit_spec.lua vim-patch:9.1.0415: Some functions are not tested 2024-07-31 10:49:57 +08:00
erasebackword_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
eval_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
ex_mode_spec.lua vim-patch:9.1.0582: Printed line doesn't overwrite colon when pressing Enter in Ex mode 2024-07-14 16:33:07 +08:00
excmd_spec.lua test(old): enable Test_address_line_overflow() 2024-07-14 06:12:42 +08:00
fixeol_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
fnamemodify_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
fold_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
function_sort_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
getcwd_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
gf_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
glob2regpat_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
global_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
highlight_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
increment_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
insertcount_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
join_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
lispwords_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
listchars_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
listlbr_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
listlbr_utf8_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
mapping_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
marks_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
match_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
matchparen_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
memory_usage_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
messages_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
mksession_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
move_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
nested_function_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
normal_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
number_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
options_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
prompt_buffer_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
put_spec.lua vim-patch:9.1.0577: Unnecessary checks for v:sizeoflong in test_put.vim 2024-07-14 06:12:41 +08:00
qf_title_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
scroll_opt_spec.lua vim-patch:9.1.0414: Unable to leave long line with 'smoothscroll' and 'scrolloff' 2024-05-17 20:28:14 +02:00
search_mbyte_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
search_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
search_stat_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
signs_spec.lua vim-patch:8.2.0281: two placed signs in the same line are not combined (#29757) 2024-07-17 01:20:41 +00:00
source_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
statusline_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
substitute_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
syn_attr_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
tabline_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
tagcase_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
textobjects_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
undolevels_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
utf8_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
vimscript_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
visual_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
window_cmd_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
wordcount_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
writefile_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00