Russ Cox 3ccd61629b sam: avoid out-of-bounds read in rterm
Usually r->nused < r->nalloc and the read is in bounds.
But it could in theory be right on the line and reading
past the end of the allocation.

Make it safe but preserve as much of the old semantics
as possible. This use of rterm appears to be only for
optimization purposes so the result does not matter
for correctness.
2021-01-14 10:05:50 -05:00
2012-03-05 16:36:31 -05:00
2020-12-30 08:38:57 -05:00
2017-09-14 17:25:17 +02:00
2020-12-30 07:53:28 -05:00
2005-09-13 01:24:50 +00:00
2020-12-30 07:53:28 -05:00
2017-09-14 17:25:17 +02:00
2017-09-14 17:25:17 +02:00
2020-12-30 08:07:24 -05:00
2004-04-21 23:43:46 +00:00
2017-09-14 17:25:17 +02:00
2005-01-13 04:56:07 +00:00
2017-09-14 17:25:17 +02:00
2020-12-30 07:53:28 -05:00
2008-05-10 13:38:21 -04:00
2005-11-25 13:18:11 +00:00
2017-07-23 11:11:56 +00:00
2020-12-30 07:53:28 -05:00
2005-11-25 13:18:11 +00:00
2013-08-13 12:46:38 -04:00

This is a port of many Plan 9 libraries and programs to Unix.

Installation

To install, run ./INSTALL. It builds mk and then uses mk to run the rest of the installation.

For more details, see install(1), at install.txt in this directory and at https://9fans.github.io/plan9port/man/man1/install.html.

Documentation

See https://9fans.github.io/plan9port/man/ for more documentation. (Documentation is also in this tree, but you need to run a successful install first. After that, "9 man 1 intro".)

Intro(1) contains a list of man pages that describe new features or differences from Plan 9.

Helping out

If you'd like to help out, great!

If you port this code to other architectures, please share your changes so others can benefit.

Git

You can use Git to keep your local copy up-to-date as we make changes and fix bugs. See the git(1) man page here ("9 man git") for details on using Git.

Status

Build Status Coverity Scan Build Status

Contact

Languages
C 91.6%
Roff 1.4%
C++ 1.3%
Yacc 1.2%
Shell 1.2%
Other 3%