NetBSD/lib/libedit
mrg aec4d439cd avoid various use-after-free issues.
create a ptrdiff_t offset between the start of an allocation region and
some interesting pointer, so it can be adjusted with this offset after
realloc() returns.

found by GCC 12.
2023-08-10 20:38:00 +00:00
..
TEST Add an LLVM fuzzing wrapper for the portable libedit (Christian Holler) 2021-09-10 13:33:45 +00:00
readline pass lint. 2023-04-25 17:51:32 +00:00
ChangeLog Add a changes file 2021-08-30 09:18:17 +00:00
Makefile Revert CC_WNO_USE_AFTER_FREE from Makefile's (thanks uwe@) 2023-08-03 14:56:36 +00:00
chared.c improvements in malloc/free handling. 2022-10-30 19:11:31 +00:00
chared.h
chartype.c avoid various use-after-free issues. 2023-08-10 20:38:00 +00:00
chartype.h libedit/chartype.h: portability fix for OSF/1 2022-04-11 19:37:20 +00:00
common.c fix build error with SDEBUG, MAP_DEBUG, DEBUG_REFRESH 2020-03-30 06:54:37 +00:00
config.h Remove unused stuff, and limit the scope of some of the used ones. 2023-02-04 14:34:28 +00:00
editline.3 Add verb to sentence. 2021-08-15 10:12:54 +00:00
editline.7
editrc.5 editrc(5): Markup fixes 2022-12-06 00:59:20 +00:00
el.c improvements in malloc/free handling. 2022-10-30 19:11:31 +00:00
el.h Disable attempts to handle EINTR and non-blocking I/O by default. It is 2021-08-15 10:08:41 +00:00
eln.c PR/56618: Walter Lozano: Improve libedit compatibility with readline by 2022-01-11 18:30:15 +00:00
emacs.c
filecomplete.c pass lint. 2023-04-25 17:51:32 +00:00
filecomplete.h pass lint. 2023-04-25 17:51:32 +00:00
hist.c put the NULL check immediately after the allocation 2019-07-23 10:19:35 +00:00
hist.h
histedit.h Add a entry point for the complete function for FreeBSD compatibility with sh. 2023-02-03 22:01:42 +00:00
history.c Change strncpy to either memcpy (when we know the len), or strlcpy (when 2019-10-08 19:17:57 +00:00
historyn.c
keymacro.c PR/54399: Sören Tempel: Uninitialized memory access in libedit history. 2019-07-23 10:18:52 +00:00
keymacro.h
libedit.pc libedit: fix pkg-config to really provide readline directory as intended 2023-06-21 21:44:31 +00:00
literal.c remove stray brace 2019-07-23 13:10:11 +00:00
literal.h
makelist
map.c improvements in malloc/free handling. 2022-10-30 19:11:31 +00:00
map.h
parse.c PR/54399: Sören Tempel: Uninitialized memory access in libedit history. 2019-07-23 10:18:52 +00:00
parse.h
prompt.c
prompt.h
read.c improvements in malloc/free handling. 2022-10-30 19:11:31 +00:00
read.h improvements in malloc/free handling. 2022-10-30 19:11:31 +00:00
readline.c pass lint. 2023-04-25 17:51:32 +00:00
refresh.c Add casts to appease conversions between wchar_t and wint_t 2021-09-09 20:24:07 +00:00
refresh.h
search.c patbuf must be updated if the length of patbuf is greater than or equal to 0. (that is always) 2020-03-30 06:56:38 +00:00
search.h
shlib_version
sig.c Don't clear the handle to el "sel" and set it earlier to prevent handling 2023-02-03 19:47:38 +00:00
sig.h
sys.h pass lint. 2023-04-25 17:51:32 +00:00
terminal.c Remove unused stuff, and limit the scope of some of the used ones. 2023-02-04 14:34:28 +00:00
terminal.h
tokenizer.c Fix some const qual (Piotr Pawel Stefaniak) 2023-05-30 11:53:40 +00:00
tokenizern.c
tty.c Via Jess Thrysoee, from Adrian Bunk: Fix libedit build on Linux/Alpha 2021-07-14 07:47:23 +00:00
tty.h s/dependend/dependent/ 2021-07-31 20:51:32 +00:00
vi.c Respect $EDITOR when execution one (Baptiste Daroussin) 2021-08-28 17:17:47 +00:00