nano/src
Benno Schulenberg 8848ac5a9b undo: do not try to copy a cutbuffer that is NULL
Allow the creation of an empty CUT undo item (because the result of a
filtering operation may be empty), but then don't crash when undoing
such an empty CUT.

This fixes https://savannah.gnu.org/bugs/?57929.

Bug existed since version 2.9.8, when filtering was introduced.
2020-03-01 12:59:54 +01:00
..
browser.c tweaks: reshuffle some declarations, and expand a few variable names 2020-01-28 10:21:34 +01:00
chars.c tweaks: elide a function call, by copying a byte directly 2020-02-20 16:38:14 +01:00
color.c tweaks: remove some unneeded braces, not used elsewhere either 2020-02-21 17:07:11 +01:00
cut.c tweaks: rename two elements of an undo record, to be more telling 2020-02-27 10:08:48 +01:00
files.c tweaks: drop a check for something that will not occur 2020-02-26 14:01:25 +01:00
global.c tweaks: add calls of die() for five theoretical programming mistakes 2020-02-28 19:15:23 +01:00
help.c tweaks: pull the NUL-terminating of a string into a function 2020-02-20 17:08:32 +01:00
history.c copyright: update the years for significantly changed files 2020-01-15 12:11:56 +01:00
Makefile.am organization: move all history-related stuff to its own file 2017-09-17 12:46:36 +02:00
move.c copyright: update the years for the FSF 2020-01-15 11:42:38 +01:00
nano.c tweaks: rename two more elements of an undo record, for symmetry 2020-02-27 10:08:48 +01:00
nano.h tweaks: rename two more elements of an undo record, for symmetry 2020-02-27 10:08:48 +01:00
prompt.c tweaks: relocate eleven functions to before they are called 2020-02-14 19:10:21 +01:00
proto.h tweaks: relocate a function to before its callers 2020-02-26 13:27:22 +01:00
rcfile.c tweaks: rename a variable, and reshuffle a declaration 2020-02-21 17:02:24 +01:00
search.c tweaks: drop two comments that contain variable names 2020-02-25 16:59:27 +01:00
text.c undo: do not try to copy a cutbuffer that is NULL 2020-03-01 12:59:54 +01:00
utils.c tweaks: pull the NUL-terminating of a string into a function 2020-02-20 17:08:32 +01:00
winio.c feedback: make sure that a later message can overwrite a short warning 2020-02-26 16:41:09 +01:00