freebsd-skq/bin
Edward Tomasz Napierala 23f80af2ca Fix double free in setfacl(1). Description from the author:
Initially, 'acl' (an 'acl_t *') is allocated, and its ACCESS_ACL and
DEFAULT_ACL fields are passed to the 'libc' ACL routines for subsequent
allocation. If the '-m' option (merge existing ACL with a new one) is
specified, then 'set_acl_mask()' will be called and passed one of the
two ACLs. This function, in turn, replaces this given ACL structure by
another, freshly allocated. However, the pointer in the 'acl' variable
in the caller is not updated. The caller then proceeds to free the ACL,
incurring in a double free condition.

Submitted by:	Pedro Martelletto <pedro at ambientworks.net>
Approved by:	rwatson (mentor)
2008-09-06 13:17:35 +00:00
..
cat
chflags Make chflags(1) more chmod(1)-like (and more feature complete): 2008-03-09 12:10:24 +00:00
chio
chmod
cp Fix ACL preservation, apparently broken in 1.47. 2008-08-07 07:29:26 +00:00
csh
date Don't reset DST computed by strptime() (when e.g. setting the 2008-02-07 16:04:24 +00:00
dd
df Significantly reduce the memory leak as noted in BUGS section for 2007-07-04 00:00:41 +00:00
domainname
echo Mark functions as __dead2 in order to help the LLVM static checker 2008-08-04 01:25:48 +00:00
ed Move WARNS as ed(1) also is only WARNS = 2 clean in the !DES case. 2007-12-09 00:14:27 +00:00
expr
getfacl Use owner name and owning group name instead of uid and gid 2007-09-19 02:04:47 +00:00
hostname
kenv
kill
ln Unbreak last commit to ln for amd64. 2008-06-07 09:37:30 +00:00
ls Turn a tab into a space. This fixes a misalignment for ls -l. 2008-04-05 21:26:25 +00:00
mkdir
mv Staticify symbols that will not be used in other 2008-07-19 00:13:26 +00:00
pax
pkill pkill(1) first appeared in /usr/bin, but later it was moved to /bin 2008-08-31 14:27:59 +00:00
ps Remove unnessasary cast 2008-07-18 14:55:22 +00:00
pwd
rcp
realpath Enhance realpath(1) in a number of ways: 2008-03-09 12:46:39 +00:00
rm
rmail
rmdir
setfacl Fix double free in setfacl(1). Description from the author: 2008-09-06 13:17:35 +00:00
sh Document the ulimit -p option in the sh(1) manual page. 2008-08-30 22:35:21 +00:00
sleep
stty Make stty(1) use tab0 and tab3 to handle tab completion. 2008-08-23 13:28:55 +00:00
sync
test
uuidgen uuidgen has been repo-copied from usr.bin/ to bin/ to match its "new" 2008-03-13 17:38:06 +00:00
Makefile pkill(1) first appeared in /usr/bin, but later it was moved to /bin 2008-08-31 14:27:59 +00:00
Makefile.inc