smol/src
Benno Schulenberg 9de376deed painting: stay within the line when skipping zero-length matches
Don't blithely overshoot the end of a line when both start regex and
end regex match an empty string.  Overshooting would let the matching
run on into uncharted country and thus ultimately cause a segfault.

This fixes https://savannah.gnu.org/bugs/?50056.
Reported-by: Elia Geretto <elia.f.geretto@gmail.com>
2017-01-20 17:03:10 +01:00
..
Makefile.am build: clean out the revision.h file, to make 'make distcheck' pass 2016-12-04 11:21:10 +01:00
browser.c tweaks: rename some variables, to show they refer to screen rows 2017-01-12 18:03:36 +01:00
chars.c screen: display byte value 0x0A in the right places as ^@ or as ^J 2016-12-23 11:00:55 +01:00
color.c painting: stay within the line when skipping zero-length matches 2017-01-20 17:03:10 +01:00
cut.c tweaks: miscellaneous frobbings 2017-01-09 18:25:25 +01:00
files.c files: leave out the confusing "[from ./]" when prompting for a command 2017-01-19 10:31:55 +01:00
global.c tweaks: rename a variable -- lines refers to buffer, rows to screen 2017-01-12 17:33:46 +01:00
help.c binding: use arrows instead of words to designate the cursor keys 2016-10-15 17:04:01 +02:00
move.c tweaks: rename a variable -- lines refers to buffer, rows to screen 2017-01-12 17:33:46 +01:00
nano.c startup: report an error when the given line or column number is invalid 2017-01-19 10:33:42 +01:00
nano.h build: add configure option --disable-wordcomp to disable word completion 2016-12-07 17:02:25 +01:00
prompt.c tweaks: remove the cluttering conditional compilation of a parameter 2017-01-03 14:11:45 +01:00
proto.h tweaks: rename a function, to show it refers to screen rows 2017-01-12 17:48:33 +01:00
rcfile.c tweaks: free an option string also when it was invalid 2017-01-11 09:49:24 +01:00
search.c startup: report an error when the given line or column number is invalid 2017-01-19 10:33:42 +01:00
text.c tweaks: miscellaneous frobbings 2017-01-09 18:25:25 +01:00
utils.c startup: report an error when the given line or column number is invalid 2017-01-19 10:33:42 +01:00
winio.c painting: stay within the line when skipping zero-length matches 2017-01-20 17:03:10 +01:00