plan9fox/sys/src/cmd
cinap_lenrek 37827f533b tar: fix memory corruption in extract1 (thanks petter)
extract1() expects two extra bytes to be avilabe before
fname buffer so it can prepend ./ before the name. this
used to be the case with name(), but was violated when
long name support was added and getname() was used in
place of name() which did not reserve the 2 extra bytes.

this change reserves two extra bytes in the getname()'s
static buffer and also removes the extra copy as name()
already makes a copy.
2019-11-02 14:17:34 +01:00
..
1a
1c cc: remove nullwarn() from OCAST codegen, zap void casts 2019-06-19 23:50:33 +02:00
1l
2a
2c cc: remove nullwarn() from OCAST codegen, zap void casts 2019-06-19 23:50:33 +02:00
2l
5a
5c cc: remove nullwarn() from OCAST codegen, zap void casts 2019-06-19 23:50:33 +02:00
5e 5e: byte access incorrectly checked for long; brk has to round up addresses 2018-09-28 22:53:24 +00:00
5i 5i ki qi vi: avoid buffer overflow in command read loop 2018-09-29 13:58:08 +02:00
5l
6a
6c 8c, 6c: LEA x, R; MOV (R), R -> MOV x, R 2019-06-24 19:38:46 +02:00
6l 8l, 6l: fix "unknown relation: TEXT" xfol() bug (thanks mischief) 2019-08-28 21:01:16 +02:00
7a 7a: fix indexreg operations 2019-04-08 13:53:41 +02:00
7c cc: remove nullwarn() from OCAST codegen, zap void casts 2019-06-19 23:50:33 +02:00
7l 7l: don't hardcode 4k pagesize, use INITRND 2019-05-17 18:14:10 +02:00
8a
8c 8c, 6c: LEA x, R; MOV (R), R -> MOV x, R 2019-06-24 19:38:46 +02:00
8l 8l, 6l: fix "unknown relation: TEXT" xfol() bug (thanks mischief) 2019-08-28 21:01:16 +02:00
9nfs
9660srv
abaco abaco: fix %.*s format in findctype() 2019-02-25 04:20:43 +01:00
acid acid: provide hooks 'procattach' and 'dying' 2017-06-12 19:28:27 +00:00
acme acme: fix fd checks - initialize Window.rdselfd to -1 not 0 2018-10-20 23:57:50 +02:00
astro
atazz atazz: fix %.*s format in special command processing 2019-02-25 04:20:00 +01:00
audio Libflac: Tell it that we have stdint.h so it finds SIZE_MAX 2019-09-07 12:37:33 -07:00
auth auth/rsa2asn1: implement private key export with -a flag (thanks kvik) 2019-08-30 07:34:35 +02:00
aux igfx: add support for 915gm 2019-03-04 21:37:52 +01:00
awk awk: make empty FS unicodely-correct. 2019-10-09 17:36:02 -07:00
bitsy
bzfs
bzip2
cb
cc Allow address expressions in ?c after int casts. 2019-09-07 18:25:04 -07:00
cdfs
cec
cfs cfs: close mount half of pipe, fixes cfs not exiting when unmounted 2018-09-19 13:27:55 -07:00
cifs cifs: merge with steve simons latest version. thank you very much! 2019-02-05 23:10:03 +01:00
compress
con
cpp Always turn on the -+ flag in cpp 2019-06-18 22:47:15 -07:00
cwfs cwfs: fix listen filedescriptor leaks 2019-10-04 18:54:01 +02:00
db
dial
dict
diff
disk disk/format: implement long name support 2019-08-19 01:09:24 +02:00
dossrv dossrv: cleanup 2018-12-24 01:21:47 +01:00
dtracy dtracy: fix && 2019-01-20 03:07:10 +00:00
eqn
execnet
exportfs cmd/ip/*: chown the network connection after authentication 2019-09-21 23:36:44 +02:00
ext2srv
faces
fax
forp forp: change indexing to verilog-like semantics 2018-12-06 10:56:32 +00:00
grap
graph
grep
gs gs: apply mitigations against CVE-2017-8291 (thanks jsmoody) 2019-06-21 18:57:20 +02:00
gzip
hg hg: disable tag caching, allows accessing hg repo from dump 2017-10-04 03:59:17 +02:00
hgfs hgfs: fix %.*s usage in walk 2019-02-25 04:08:13 +01:00
hjfs hjfs: set group of new files to that of the parent directory (thanks umbraticus) 2018-08-20 12:48:06 -07:00
hoc
htmlfmt
htmlroff
ip ip/dhcpd: prevent client from increasing max reply size beyond the reply buffer capacity 2019-10-22 06:53:50 +02:00
jpg
ka
kc cc: remove nullwarn() from OCAST codegen, zap void casts 2019-06-19 23:50:33 +02:00
ki 5i ki qi vi: avoid buffer overflow in command read loop 2018-09-29 13:58:08 +02:00
kl
lex
lp
map
mk mk: fix closing random fd from uninitialized stack variable (thanks BurnZeZ, mycroftiv) 2018-12-26 05:04:56 +01:00
mothra libpanel: fix %.*s format in pl_snarfentry() 2019-02-25 03:45:49 +01:00
ndb ndb/dns: handle empty $DNSSERVER 2019-10-13 09:02:04 +02:00
nusb nusb/usbd: work around devices that ignore the high byte of wLength in control transfer reads 2019-05-07 09:19:53 +02:00
paqfs
pic
plot
plumb plumber: loop will go out of bounds when *++s == '\0'; replace with strstr 2019-05-31 22:15:53 +00:00
postscript postscript: use PI 2019-02-13 03:24:31 +00:00
proof
python python: arm64 support 2019-05-03 21:11:17 +02:00
qa
qc cc: remove nullwarn() from OCAST codegen, zap void casts 2019-06-19 23:50:33 +02:00
qi 5i ki qi vi: avoid buffer overflow in command read loop 2018-09-29 13:58:08 +02:00
ql
ratfs ratfs: implement ipv6 support, replace v4parsecidr() with parseipandmask() 2019-02-11 23:38:58 +01:00
rc rc: clear out redirections on "rfork F" (RFCFDG) 2019-01-20 12:02:03 +01:00
replica replica: use libavl for avl tree implementation 2017-04-22 14:28:02 -05:00
rio rio: get rid of window delete thread, fix mysterious disappearing windows 2018-12-07 16:32:04 +01:00
sam fix misleading/wrong fd checks 2018-10-20 18:44:09 +00:00
samterm Make ctrl+g focus text windows and cycle zeroxed copies (thanks kvik) 2019-10-21 15:29:07 -07:00
scat
scuzz
snap snap: use Mach->szaddr as the width of the stack pointer (fixes snap on amd64) 2018-11-22 20:27:27 +01:00
spell
spin spin: Update to most recent version. (thanks Ori_B) 2017-11-22 21:09:31 +01:00
spred
syscall
tapefs
tbl
tcs remove function prototype that leaked into last commit 2018-12-26 04:51:35 +00:00
telco
troff
troff2html
upas upas/fs: fix handling of numeric timezone offsets in strtotm 2019-10-31 09:41:03 +10:30
va
vac
vc cc: remove nullwarn() from OCAST codegen, zap void casts 2019-06-19 23:50:33 +02:00
venti venti/conf: fix padding so we write multiple of sector size 2018-01-28 17:22:00 +01:00
vi 5i ki qi vi: avoid buffer overflow in command read loop 2018-09-29 13:58:08 +02:00
vl
vmx vmx: handle build arch exclude in /sys/src/cmd/mkfile 2019-05-19 17:11:57 +02:00
vnc vncv: fix snarf buffer realloc memory corruption 2019-08-26 17:02:58 +02:00
vt vt: dont make fs procs hang arround when closing rio window 2019-04-02 20:44:35 +02:00
webfs webfs: bracket literal ipv6 host in "Host:" header 2019-03-23 00:49:07 +01:00
wikifs
aan.c
alarm.c
ar.c
archfs.c
ascii.c
basename.c
bc.y
bind.c
cal.c
calendar.c
camv.c camv: fix leak on resize 2018-05-20 16:47:41 +02:00
cat.c
chgrp.c
chmod.c
cleanname.c
clock.c
cmp.c
col.c
colors.c
comm.c
cp.c
cpu.c cmd/ip/*: chown the network connection after authentication 2019-09-21 23:36:44 +02:00
crc32.c
crop.c
date.c Add RFC2822 (email style) formatted dates to to date(1). 2019-09-06 08:25:21 -07:00
dc.c dc: fix off by one in stack overflow check (thanks BurnZeZ) 2018-07-27 09:31:28 +02:00
dd.c
deroff.c
derp.c
du.c
echo.c
ecp.c
ed.c
factor.c
fcp.c
file.c file: add (very) basic support for detecting mpeg4 formats 2019-11-01 12:05:11 +10:30
fmt.c
fortune.c
fplot.c fplot: fix operator associativity 2018-12-15 11:57:35 +00:00
freq.c
getmap.c
gview.c
histogram.c
history.c
html2ms.c
iconv.c
idiff.c
import.c libc: add procsetname() 2018-09-26 14:56:23 +02:00
init.c
io.c io(1): %llx -> %ullx 2017-05-22 09:04:51 +00:00
iostats.c
join.c
kbmap.c
kprof.c kprof: fix precedence (thanks geoff) 2018-09-19 01:11:49 +02:00
ktrace.c ktrace: arm64 support 2019-05-03 21:16:23 +02:00
lens.c
lnfs.c
lock.c
look.c
ls.c
mc.c
md5sum.c sum, md5sum, sha1sum: set exit status properly on open/read errors 2018-09-18 15:58:22 -07:00
mkdir.c
mkfile /sys/src/cmd/mkfile: fix PCONLY exclude (thanks stefan) 2019-05-24 22:52:20 +02:00
mklib mklib: add %.acid target 2018-06-08 16:48:31 +00:00
mkmany
mkone mkone: fix man target (thanks Amavect) 2019-05-17 01:51:28 +02:00
mksyslib
mntgen.c
mount.c
mpc.y
ms2html.c
mtime.c
mug.c
mv.c
netstat.c
news.c
nfs.c
nm.c
nntpfs.c
ns.c ns: remove left over vararg check pragma 2018-02-26 19:58:54 +01:00
p.c
page.c
paint.c
pbd.c
pc.y pc(1): reference counting bug 2018-12-13 10:38:21 +00:00
pcc.c pcc: back out -+ flag removal to allow gracefull upgrade path with new pcc but old cpp 2019-06-19 15:15:35 +02:00
pipefile.c
pr.c
primes.c
prof.c
ps.c
pstree.c
ptrap.c add ptrap 2018-02-05 09:38:59 +00:00
pump.c
pwd.c
qr.c
ramfs.c
ratrace.c
rdbfs.c
read.c
resample.c
resize.c
rm.c
rotate.c
rx.c
sat.c add sat(1) command 2018-03-18 03:03:12 +00:00
scram.c
screenlock.c screenlock: put position check back in grabmouse (thanks deuteron) 2017-12-03 16:34:35 +01:00
seconds.c
sed.c sed: only dollars as first address are a problem for -u 2018-11-05 20:17:48 +00:00
seg.c
seq.c
sh.C
sha1sum.c sum, md5sum, sha1sum: set exit status properly on open/read errors 2018-09-18 15:58:22 -07:00
size.c
sleep.c
sort.c fix sort(1) bug where it incorrectly included the field separator in the comparison if it was >= Runeself 2018-02-07 18:53:08 +00:00
split.c fix misleading/wrong fd checks 2018-10-20 18:44:09 +00:00
srv.c
srvfs.c
ssh.c ssh: work around github.com's broken cipher negotiation code (thanks Ori_B) 2019-05-27 02:11:16 +02:00
sshfs.c sshfs: fix dir2attrib() memory leak in wstat error case (thanks BurnZeZ) 2019-10-07 12:51:21 +02:00
sshnet.c sshnet: get rid of Announced state, simplify 2019-04-03 23:49:22 +02:00
stats.c stats: fix etherstats, avoid vmax == 0 2018-09-09 00:24:43 +02:00
strings.c
strip.c
sum.c sum, md5sum, sha1sum: set exit status properly on open/read errors 2018-09-18 15:58:22 -07:00
swap.c
tail.c
tar.c tar: fix memory corruption in extract1 (thanks petter) 2019-11-02 14:17:34 +01:00
tee.c
test.c
time.c
timepic.c
tlsclient.c tlsclient: allow dumping the server's certificate with new -d flag 2018-01-06 07:43:08 +01:00
tlssrv.c cmd/ip/*: chown the network connection after authentication 2019-09-21 23:36:44 +02:00
touch.c
touchfs.c
tprof.c
tput.c
tr.c
trace.c
truetypefs.c truetypefs: fall back to width if advance is zero 2018-10-12 08:34:17 -07:00
ttfrender.c add ttfrender(1) 2018-06-09 14:34:44 +00:00
tweak.c
uhtml.c
unicode.c
uniq.c
units.y
unlnfs.c
unmount.c
urlencode.c
walk.c walk: remove unused depth argument from dofile() 2019-03-30 15:10:36 +00:00
wc.c
webcookies.c
winwatch.c winwatch: show windows with empty labels (thanks jpm) 2017-09-11 19:17:12 +02:00
xargs.c
xd.c xd: use new bio magic to make -u more efficient 2017-06-12 19:56:57 +00:00
yacc.c fix yacc bug (found by dan cross) 2017-04-21 17:16:44 +00:00