sortix-mirror/editor
Juhani Krekelä 86fa692c74 Do not try to copy zero-length buffers in editor_type_newline()
While under Sortix these operations ought to be safe, UBSan will
complain regardless if you do a zero-byte memmove from NULL. This
caused the editor forcibly quit whenever it tried to open a file
that had an empty first line and at least one another line.
2021-05-02 22:42:37 +02:00
..
.gitignore Move editor to its own subdirectory. 2014-12-07 20:29:08 +01:00
command.c Do not try to copy zero-length buffers in editor_type_newline() 2021-05-02 22:42:37 +02:00
command.h Port the editor to non-sortix operating systems. 2016-05-15 22:43:29 +02:00
cursor.c Fix indention in editor(1). 2018-03-11 18:10:09 +02:00
cursor.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
display.c Fix indentation in editor/display.c. 2019-04-09 15:11:53 +02:00
display.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
editor.1 Fix date format in manual pages. 2017-07-02 22:07:39 +02:00
editor.5 Fix date format in manual pages. 2017-07-02 22:07:39 +02:00
editor.c Port the editor to non-sortix operating systems. 2016-05-15 22:43:29 +02:00
editor.h Port the editor to non-sortix operating systems. 2016-05-15 22:43:29 +02:00
highlight.c Fix indention in editor(1). 2018-03-11 18:10:09 +02:00
highlight.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
input.c Fix Ctrl+Down selecting text instead of moving cursor in editor(1). 2018-03-11 18:39:00 +02:00
input.h Type escape colon to enter commands in editor(1). 2016-11-22 21:36:43 +01:00
Makefile Remove VERSIONSTR define for programs not using it. 2017-03-19 17:34:19 +01:00
modal.c Fix editor language modal. 2016-03-06 00:54:15 +01:00
modal.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
multibyte.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
multibyte.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
terminal.c Port the editor to non-sortix operating systems. 2016-05-15 22:43:29 +02:00
terminal.h Fix indention in editor(1). 2018-03-11 18:10:09 +02:00