Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
Thomas Cort 5f4dc6b763 mined: fix buffer overflow in input()
input() is used to accept filenames when saving, regular
expressions when searching, and other input. It writes
the characters into buffers such as file and exp_buf and
others which are of length LINE_LEN.

To prevent writing beyond the end of the intended buffer,
truncate the input at LINE_LEN - 1 and ensure that the
string is NULL terminated.
2015-12-21 22:19:36 -05:00
bin Import NetBSD csh(1) 2015-09-29 18:15:52 +00:00
common inet: do not link against libc 2015-06-07 14:38:12 +00:00
crypto Importing crypto libraries 2015-10-07 23:37:12 +02:00
distrib Split minix distribution set 2015-10-12 11:25:54 +02:00
docs Add PTYFS, Unix98 pseudo terminal support 2015-06-23 17:43:46 +00:00
etc Split minix distribution set 2015-10-12 11:25:54 +02:00
external pkg_install: Set default paths as expected on MINIX 2015-10-09 15:49:42 +02:00
games Import games/caesar and games/rot13 2015-04-15 09:47:27 +02:00
gnu Update download urls in fetch.sh 2014-08-07 14:27:32 +02:00
include New sources layout 2014-07-31 16:00:30 +02:00
lib libc: fix needless malloc failures 2015-10-28 01:13:04 +00:00
libexec Import NetBSD rcmd, rcp, rsh, rshd 2015-09-23 12:03:06 +00:00
minix mined: fix buffer overflow in input() 2015-12-21 22:19:36 -05:00
releasetools Add boot menu entry to boot an ALIX SBC. 2015-10-28 14:01:13 +01:00
sbin Import makefs from NetBSD 2015-10-07 12:39:44 +02:00
share Split minix distribution set 2015-10-12 11:25:54 +02:00
sys New image framework generation 2015-10-10 19:09:35 +02:00
tests Importing crypto libraries 2015-10-07 23:37:12 +02:00
tools Add installboot to host tools 2015-10-08 12:10:51 +02:00
usr.bin Importing crypto libraries 2015-10-07 23:37:12 +02:00
usr.sbin Add installboot to host tools 2015-10-08 12:10:51 +02:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview build:update 'git review' config to match gerrit.minix3.org 2014-07-28 17:05:15 +02:00
build.sh Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile INIT died problem / build system robustness 2014-08-28 08:52:50 +02:00
Makefile.inc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00