sortix-mirror/utils
Juhani Krekelä 2e193b6014 Fix possible overflow when resizing buffers and remove unncessary casts.
A line longer than 2G might overflow the size_t containing the buffer
length on 32-bit platform. Fix is to use reallocarray with second
parameter twice the size of the element to double the buffer size, since
it will error out if there was an overflow.
2021-11-02 02:11:18 +02:00
..
.gitignore Add nl(1). 2021-04-21 22:30:21 +02:00
Makefile Mark install(1) dependant on utils/cp.c and head(1) on utils/tail.c 2021-07-29 00:40:49 +03:00
basename.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
cat.c Fix reading directories not failing with EISDIR. 2021-07-28 22:21:41 +02:00
chkblayout.1 Fix comma punctuation bugs in manual lists. 2017-03-19 17:34:19 +01:00
chkblayout.c Add -l option to chkblayout(1). 2016-09-30 17:03:29 +02:00
chmod.c Modernize chmod(1). 2020-10-18 00:31:06 +02:00
chown.c Add chown(1). 2020-10-18 00:31:06 +02:00
chroot.8 Fix comma punctuation bugs in manual lists. 2017-03-19 17:34:19 +01:00
chroot.c Document chroot(8). 2016-10-12 21:51:25 +08:00
chvideomode.1 Document chvideomode(1). 2017-02-13 13:57:16 -06:00
chvideomode.c Document chvideomode(1). 2017-02-13 13:57:16 -06:00
clear.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
colormake.c Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
column.c Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
command-not-found.c Make command-not-found(1) data-driven. 2021-10-06 23:37:08 +03:00
cp.c Add install(1) -d support. 2017-12-04 23:56:47 +01:00
date.c Add format support to date(1). 2021-04-06 23:22:22 +02:00
df.c Fix code relying on <stdio.h> including <stdarg.h>. 2018-08-06 23:59:34 +02:00
dirname.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
du.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
echo.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
env.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
expr.c Check overflow in expr(1). 2016-05-15 22:43:29 +02:00
false.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
find.c Rewrite find(1). 2021-05-29 01:04:53 +02:00
head.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
help.c Fix execl(3) sentinel undefined behaviour. 2016-09-30 23:36:49 +02:00
id.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
kernelinfo.1 Fix date format in manual pages. 2017-07-02 22:07:39 +02:00
kernelinfo.c Fix newlines in errx(3) calls. 2016-10-03 16:00:00 +02:00
kill.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ln.c Add -h option to ln(1). 2020-04-13 15:00:25 +02:00
logname.1 Add logname(1). 2016-10-16 11:27:35 -05:00
logname.c Fix logname(1) not reseting errno before logname(3). 2017-07-02 22:09:53 +02:00
ls.c Fix ls(1) not checking stat_record()'s error correctly. 2018-08-06 23:59:34 +02:00
memstat.1 Fix date format in manual pages. 2017-07-02 22:07:39 +02:00
memstat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mkdir.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mktemp.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mv.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
nl.c Add nl(1). 2021-04-21 22:30:21 +02:00
pager.1 Add more keybinds for scrolling in pager(1) 2021-05-04 22:14:47 +00:00
pager.c Fix possible overflow when resizing buffers and remove unncessary casts. 2021-11-02 02:11:18 +02:00
passwd.1 Fix date format in manual pages. 2017-07-02 22:07:39 +02:00
passwd.c Fix newlines in passwd(1) unrecognized option errors. 2016-10-09 23:06:42 +02:00
ps.c Add support for sessions. 2016-11-23 22:30:47 +01:00
pstree.c Fix failed fix to pstree(1) vertical line drawing character. 2017-08-20 12:44:34 +02:00
pwd.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
readlink.1 Fix readlink(1) self-reference. 2016-10-01 21:29:30 +02:00
readlink.c Add readlink(1). 2016-09-29 20:10:58 -05:00
realpath.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
rm.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
rmdir.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
sleep.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
sort.1 Fix typos in sort(1). 2018-04-15 18:06:49 +02:00
sort.c Add -bdfgikhMnt options to sort(1). 2021-06-13 12:51:18 +02:00
stat.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
stty.c Add stty(1). 2020-11-25 20:47:19 +01:00
tail.c Fix indentation in switch-statement in utils/tail.c. 2021-10-31 00:46:13 +03:00
tee.c Add tee(1). 2016-09-25 20:07:27 -05:00
time.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
touch.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
tr.c Remove useless void casts from tr(1). 2016-10-03 20:02:11 +02:00
true.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
tty.c Add tty(1). 2016-11-23 22:31:41 +01:00
type.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
uname.1 Fix uname(1) referencing section 4 and not section 5. 2017-04-12 23:22:09 +02:00
uname.c Document uname(1). 2017-02-05 13:41:07 -06:00
uniq.c Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
unmount.8 Fix comma punctuation bugs in manual lists. 2017-03-19 17:34:19 +01:00
unmount.c Document unmount(1). 2016-10-11 20:12:48 +08:00
uptime.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
wc.c Fix reading directories not failing with EISDIR. 2021-07-28 22:21:41 +02:00
which.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
xinstall.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
yes.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00