NetBSD/lib
mrg ef48836c2e avoid accessing stack garbage.
on arm64eb resuming vi(1) would often crash.  in makech(), the 'csp'
variable is either set to current window data, or a local stack
variable's address '&blank'.  the window data has many lines of info
stored, and 'csp++' is used per line here.  unfortunately, a case
existed where 'csp++' operated on csp initialised from '&blank' which
eventually crashes when, on my display with 160 columns and 'csp + 155'
exceeds the mapped stack and crashes.

match the '!_cursesi_screen->curwin' conditional that initialises csp,
and avoid csp++ here.  assert() that csp != &blank in both places that
modify csp.

thanks to jdc@ and mlelstv@.

XXX: possibly also should avoid the putch() here as well.
2021-05-08 04:29:07 +00:00
..
csu Instead of compiling files with -fcommon, create an include file and declare 2021-04-20 21:42:31 +00:00
i18n_module
libarch
libbluetooth Use strlcpy to NUL terminate the name string here. The kernel already 2019-10-03 17:10:16 +00:00
libbpfjit
libbsdmalloc
libbz2 convert HAVE_GCC == 7 to HAVE_GCC >= 7. 2019-09-29 23:44:58 +00:00
libc PR/56148: Andreas Gustafsson: lib/libc/stdio/t_printf:snprintf_float test 2021-05-06 16:15:33 +00:00
libc_fp
libc_vfp comparision -> comparison 2020-12-02 14:20:19 +00:00
libcompat stty & gtty were around since v1 2019-09-01 23:42:19 +00:00
libcrypt Remove extra semicolon. 2020-05-14 08:34:17 +00:00
libcurses avoid accessing stack garbage. 2021-05-08 04:29:07 +00:00
libdm Update for proplib(3) API changes. 2020-06-07 05:54:00 +00:00
libedit PR/56147: Miroslav Lichvar: Avoid memory leak if strdup fails. 2021-05-05 14:49:59 +00:00
libexecinfo If Unwind_Backtrace is broken, ctx.n will still contain ~0, and we will 2020-07-26 15:53:05 +00:00
libform - fix memory leak 2021-04-13 13:13:03 +00:00
libintl Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
libipsec Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
libisns introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
libkern
libkvm Catch up with aa64 is not mips change 2020-11-10 19:14:11 +00:00
liblwres
libm Use ${MACHINE_MIPS64} 2021-04-25 23:43:20 +00:00
libmenu terminfo: promote numeric parameters from short to int 2020-03-13 15:19:24 +00:00
libnpf Major NPF improvements (merge from upstream): 2020-05-30 14:16:56 +00:00
libnvmm Implement nvmm_vcpu::stop, a race-free exit from nvmm_vcpu_run() without 2021-04-06 08:40:17 +00:00
libossaudio ossv4 mixer API: be extra careful with the inputs to AUDIO_MIXER_READ. 2021-03-15 10:58:05 +00:00
libp2k UVM locking changes, proposed on tech-kern: 2020-02-23 15:46:38 +00:00
libpam lib/libpam: Fix the possible -Werror=stringop-truncation 2020-06-12 01:20:32 +00:00
libpanel terminfo: promote numeric parameters from short to int 2020-03-13 15:19:24 +00:00
libpci
libperfuse miscelaneous -> miscellaneous in comment. 2020-03-05 15:56:20 +00:00
libposix
libppath
libprop Improvements to the problib(3) API: 2020-06-06 21:25:59 +00:00
libpthread fake-use alloca()'s return value to quieten -Werror=unused-result 2021-04-13 00:31:54 +00:00
libpuffs cast to the proper enums for lint 2021-03-08 17:34:10 +00:00
libquota
libradius
librefuse Restore binary compatibility by using the statvfs90 structure internally. 2019-09-23 12:00:57 +00:00
libresolv
librmt s/transfered/transferred/ 2019-12-27 09:41:48 +00:00
librpcsvc Fix building librpcsvc for MKYP=no 2019-04-24 10:26:43 +00:00
librt Mention that ENOSPC can be returned if we exhausted the max number of 2019-02-21 21:54:09 +00:00
librump introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
librumpclient introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
librumpdev
librumphijack Add pathconf and lpathconf (fixes lib/librumphijack/nfs test which uses ls 2020-05-27 18:55:36 +00:00
librumpnet
librumpres introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
librumpuser For MIPS N32, register_t needs to be uint64_t as "long" isn't 2021-04-03 07:38:11 +00:00
librumpvfs
libskey avoid an unlikely buffer truncation. 2021-04-12 09:17:10 +00:00
libss
libtelnet pass the right enum to krb5_auth_con_setkeytype(). 2021-04-12 09:17:48 +00:00
libterminfo libterminfo: cast to uint16/32_t before conversion to preserve negativity 2020-06-21 15:05:23 +00:00
libukfs
libusbhid lib/libusbhid: Fix possible left shift changes signedness bit. 2020-04-04 21:26:16 +00:00
libutil note that ttyaction.[35] first appeared in netbsd 1.3. 2021-03-21 23:29:36 +00:00
libwrap simplify expression, daemon is an array can't be NULL. 2021-03-18 01:49:09 +00:00
liby
libz use GCC_NO_IMPLICIT_FALLTHRU. 2021-04-26 07:17:30 +00:00
lua Prevent Lua from crashing if clear_bindings() is called on a statement 2019-05-16 12:42:35 +00:00
npf libnpf fix: link the library itself to libnv; libnpf users should not be 2019-08-24 13:20:52 +00:00
bumpversion
checkoldver
checkver
checkvers
Makefile Use ${MACHINE_MIPS64} 2021-04-25 23:43:20 +00:00
Makefile.inc