1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/bin
Jilles Tjoelker 4a4867d667 sh: Fix out of bounds read when there is no ] after a [:class:].
The initial check for a matching ] was incorrect if a ] may be consumed by a
[:class:]. The subsequent loop assumed that there must be a ].

Remove the initial check and make the loop cope with a missing ].

Found with afl-fuzz.

MFC after:	1 week
2015-08-25 21:55:15 +00:00
..
cat new depends 2015-06-16 23:37:19 +00:00
chflags Add META_MODE support. 2015-06-13 19:20:56 +00:00
chio Add META_MODE support. 2015-06-13 19:20:56 +00:00
chmod Add META_MODE support. 2015-06-13 19:20:56 +00:00
cp Add META_MODE support. 2015-06-13 19:20:56 +00:00
csh Add META_MODE support. 2015-06-13 19:20:56 +00:00
date Add META_MODE support. 2015-06-13 19:20:56 +00:00
dd Mention the dd-like recoverdisk(1) to help folks find this great BSD command. 2015-07-16 23:38:12 +00:00
df Add META_MODE support. 2015-06-13 19:20:56 +00:00
domainname Add META_MODE support. 2015-06-13 19:20:56 +00:00
echo Add META_MODE support. 2015-06-13 19:20:56 +00:00
ed Add META_MODE support. 2015-06-13 19:20:56 +00:00
expr Add META_MODE support. 2015-06-13 19:20:56 +00:00
freebsd-version Add META_MODE support. 2015-06-13 19:20:56 +00:00
getfacl Add META_MODE support. 2015-06-13 19:20:56 +00:00
hostname Add META_MODE support. 2015-06-13 19:20:56 +00:00
kenv Add META_MODE support. 2015-06-13 19:20:56 +00:00
kill Add META_MODE support. 2015-06-13 19:20:56 +00:00
ln Add META_MODE support. 2015-06-13 19:20:56 +00:00
ls Upgrade libxo to 0.4.5. 2015-08-24 16:26:20 +00:00
mkdir Add META_MODE support. 2015-06-13 19:20:56 +00:00
mv mv: Improve message when moving two or more files to non-directory. 2015-06-28 21:36:00 +00:00
pax Add META_MODE support. 2015-06-13 19:20:56 +00:00
pkill Make pkill/pgrep -j ARG take jname, not just jid. 2015-08-22 05:04:36 +00:00
ps Upgrade libxo to 0.4.5. 2015-08-24 16:26:20 +00:00
pwait Add META_MODE support. 2015-06-13 19:20:56 +00:00
pwd Add META_MODE support. 2015-06-13 19:20:56 +00:00
rcp Add META_MODE support. 2015-06-13 19:20:56 +00:00
realpath Add META_MODE support. 2015-06-13 19:20:56 +00:00
rm Add META_MODE support. 2015-06-13 19:20:56 +00:00
rmail Add META_MODE support. 2015-06-13 19:20:56 +00:00
rmdir Add META_MODE support. 2015-06-13 19:20:56 +00:00
setfacl Add META_MODE support. 2015-06-13 19:20:56 +00:00
sh sh: Fix out of bounds read when there is no ] after a [:class:]. 2015-08-25 21:55:15 +00:00
sleep Add META_MODE support. 2015-06-13 19:20:56 +00:00
stty Prevent potential integer overflow 2015-07-13 05:59:41 +00:00
sync Add META_MODE support. 2015-06-13 19:20:56 +00:00
test Add META_MODE support. 2015-06-13 19:20:56 +00:00
tests Migrate tools/regression/bin/ tests to the new layout. 2013-12-11 04:09:17 +00:00
uuidgen Add META_MODE support. 2015-06-13 19:20:56 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.inc Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00