tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
usr.bin
/
less
/
at
jcs
2 folders
50 files
less
Just use the default CDIAGFLAGS rather than defining our own.
10 years ago
lesskey
remove redundant variable declarations in Makefiles, since those are the default.
8 years ago
LICENSE
Import of Less 458
12 years ago
Makefile
Merge in less 444 plus local changes
14 years ago
Makefile.inc
$OpenBSD$
10 years ago
brac.c
Merge upstream bug fixes
4 years ago
ch.c
Delete support for the LESSOPEN and LESSCLOSE environment variables aka the "Input Preprocessor": it's been a source for multiple security bugs in the past as everything has to deal with handling arbitrary filenames and generally resulted in multiple TOCTOU issues. The base system never included a default LESSOPEN setting like some Linux distributions did, but it's a suds-filled sink full of knives to try to use safely.
2 years ago
charset.c
Delete what remains of the support for combining characters into ligatures: it was incomplete (only for the Arabic script and only for the single ligature LAM WITH ALEF) and it was implemented in a way that is unsustainable (with a static table inside less).
6 years ago
charset.h
trivial replacement of the home-grown IS_ASCII_OCTET() with the standard isascii(3)
6 years ago
cmd.h
Remove support for ! to run a shell command, we have ^Z around these parts. ok ratchov jung millert
10 years ago
cmdbuf.c
Remove wpath from secure mode pledge.
4 years ago
command.c
Delete support for the LESSOPEN and LESSCLOSE environment variables aka the "Input Preprocessor": it's been a source for multiple security bugs in the past as everything has to deal with handling arbitrary filenames and generally resulted in multiple TOCTOU issues. The base system never included a default LESSOPEN setting like some Linux distributions did, but it's a suds-filled sink full of knives to try to use safely.
2 years ago
cvt.c
trivial replacement of the home-grown IS_ASCII_OCTET() with the standard isascii(3)
6 years ago
decode.c
Merge upstream bug fixes
4 years ago
defines.h
remove superfluous macro
10 years ago
edit.c
Delete support for the LESSOPEN and LESSCLOSE environment variables aka the "Input Preprocessor": it's been a source for multiple security bugs in the past as everything has to deal with handling arbitrary filenames and generally resulted in multiple TOCTOU issues. The base system never included a default LESSOPEN setting like some Linux distributions did, but it's a suds-filled sink full of knives to try to use safely.
2 years ago
filename.c
remove unused functions; ok tb@
2 years ago
forwback.c
remove externs for removed vars
2 years ago
funcs.h
Delete support for the LESSOPEN and LESSCLOSE environment variables aka the "Input Preprocessor": it's been a source for multiple security bugs in the past as everything has to deal with handling arbitrary filenames and generally resulted in multiple TOCTOU issues. The base system never included a default LESSOPEN setting like some Linux distributions did, but it's a suds-filled sink full of knives to try to use safely.
2 years ago
ifile.c
little bit more KNF
9 years ago
input.c
less uses a correct raceless signal method of indicating signal events in a volatile sig_atomic_t variable, and then processing events in the mainloop. But only one variable was used for 3 signals, with |= bit operations which are signal interruptable! Rewrite the code to use 3 independent variables and cleanup how the mainloop observes indications. ok schwarze
6 years ago
jump.c
little bit more KNF
9 years ago
less.1
Delete support for the LESSOPEN and LESSCLOSE environment variables aka the "Input Preprocessor": it's been a source for multiple security bugs in the past as everything has to deal with handling arbitrary filenames and generally resulted in multiple TOCTOU issues. The base system never included a default LESSOPEN setting like some Linux distributions did, but it's a suds-filled sink full of knives to try to use safely.
2 years ago
less.h
Delete support for the LESSOPEN and LESSCLOSE environment variables aka the "Input Preprocessor": it's been a source for multiple security bugs in the past as everything has to deal with handling arbitrary filenames and generally resulted in multiple TOCTOU issues. The base system never included a default LESSOPEN setting like some Linux distributions did, but it's a suds-filled sink full of knives to try to use safely.
2 years ago
less.hlp
"!command" notation was zapped 8 years ago - remove corresponding entry from the help file; from piotr durlej
2 years ago
lesskey.1
imrove the description of lesskey; based on a diff from richard ulmer ok deraadt schwarze
4 years ago
lesskey.c
little bit more KNF
9 years ago
lesskey.h
Garrett D'Amore has agreed to moving his copyright line up above the terms with the existing copyright, so it is clear it applies the same terms.
10 years ago
line.c
Fix possible use after free with long lines
4 years ago
linenum.c
less uses a correct raceless signal method of indicating signal events in a volatile sig_atomic_t variable, and then processing events in the mainloop. But only one variable was used for 3 signals, with |= bit operations which are signal interruptable! Rewrite the code to use 3 independent variables and cleanup how the mainloop observes indications. ok schwarze
6 years ago
lsystem.c
adjust a variable name in a comment after the reorg in signal.c rev. 1.18
6 years ago
main.c
Delete support for the LESSOPEN and LESSCLOSE environment variables aka the "Input Preprocessor": it's been a source for multiple security bugs in the past as everything has to deal with handling arbitrary filenames and generally resulted in multiple TOCTOU issues. The base system never included a default LESSOPEN setting like some Linux distributions did, but it's a suds-filled sink full of knives to try to use safely.
2 years ago
mark.c
little bit more KNF
9 years ago
more.1
- more no longer accepts random less commands - history trim - sundry
6 years ago
more.hlp
zap double full stop; ok schwarze
12 years ago
optfunc.c
Merge upstream bug fixes
4 years ago
option.c
Merge upstream bug fixes
4 years ago
option.h
little bit more KNF
9 years ago
opttbl.c
Delete support for the LESSOPEN and LESSCLOSE environment variables aka the "Input Preprocessor": it's been a source for multiple security bugs in the past as everything has to deal with handling arbitrary filenames and generally resulted in multiple TOCTOU issues. The base system never included a default LESSOPEN setting like some Linux distributions did, but it's a suds-filled sink full of knives to try to use safely.
2 years ago
os.c
less uses a correct raceless signal method of indicating signal events in a volatile sig_atomic_t variable, and then processing events in the mainloop. But only one variable was used for 3 signals, with |= bit operations which are signal interruptable! Rewrite the code to use 3 independent variables and cleanup how the mainloop observes indications. ok schwarze
6 years ago
output.c
less uses a correct raceless signal method of indicating signal events in a volatile sig_atomic_t variable, and then processing events in the mainloop. But only one variable was used for 3 signals, with |= bit operations which are signal interruptable! Rewrite the code to use 3 independent variables and cleanup how the mainloop observes indications. ok schwarze
6 years ago
pattern.c
When performing an inverted search in less, make sure to invalidate the match bounds prior calling regexec(). In this inverted scenario a match is found when regexec() returns false causing the bounds to not be updated. This is problematic since the bounds will then refer to a previous match and future pointer arithmetic will eventually be off which is manifested in a SIGSEGV.
8 years ago
pattern.h
Garrett D'Amore has agreed to moving his copyright line up above the terms with the existing copyright, so it is clear it applies the same terms.
10 years ago
position.c
little bit more KNF
9 years ago
position.h
Garrett D'Amore has agreed to moving his copyright line up above the terms with the existing copyright, so it is clear it applies the same terms.
10 years ago
prompt.c
little bit more KNF
9 years ago
screen.c
less uses a correct raceless signal method of indicating signal events in a volatile sig_atomic_t variable, and then processing events in the mainloop. But only one variable was used for 3 signals, with |= bit operations which are signal interruptable! Rewrite the code to use 3 independent variables and cleanup how the mainloop observes indications. ok schwarze
6 years ago
search.c
spelling fixes; from paul tagliamonte amendments to his diff are noted on tech
3 years ago
signal.c
less uses a correct raceless signal method of indicating signal events in a volatile sig_atomic_t variable, and then processing events in the mainloop. But only one variable was used for 3 signals, with |= bit operations which are signal interruptable! Rewrite the code to use 3 independent variables and cleanup how the mainloop observes indications. ok schwarze
6 years ago
tags.c
less uses a correct raceless signal method of indicating signal events in a volatile sig_atomic_t variable, and then processing events in the mainloop. But only one variable was used for 3 signals, with |= bit operations which are signal interruptable! Rewrite the code to use 3 independent variables and cleanup how the mainloop observes indications. ok schwarze
6 years ago
ttyin.c
less uses a correct raceless signal method of indicating signal events in a volatile sig_atomic_t variable, and then processing events in the mainloop. But only one variable was used for 3 signals, with |= bit operations which are signal interruptable! Rewrite the code to use 3 independent variables and cleanup how the mainloop observes indications. ok schwarze
6 years ago
version.c
Garrett D'Amore has agreed to moving his copyright line up above the terms with the existing copyright, so it is clear it applies the same terms.
10 years ago