freebsd-dev/contrib
Dimitry Andric f8789c6b84 Pull in r269908 from upstream llvm trunk (by James Molloy):
[VectorUtils] Fix nasty use-after-free

  In truncateToMinimalBitwidths() we were RAUW'ing an instruction then
  erasing it. However, that intruction could be cached in the map we're
  iterating over. The first check is "I->use_empty()" which in most
  cases would return true, as the (deleted) object was RAUW'd first so
  would have zero use count. However in some cases the object could
  have been polluted or written over and this wouldn't be the case.
  Also it makes valgrind, asan and traditionalists who don't like their
  compiler to crash sad.

  No testcase as there are no externally visible symptoms apart from a
  crash if the stars align.

  Fixes PR26509.

This should fix crashes when building a number of ports on arm64.

Reported by:	andrew
2016-05-29 20:54:16 +00:00
..
amd Mark amd(8) and all related utilities as obsolete. 2016-02-29 16:45:10 +00:00
apr Update apr-1.5.1 to 1.5.2 2015-08-09 05:14:25 +00:00
apr-util
atf atf map: Fix double-free in low memory error path 2016-05-11 23:39:39 +00:00
binutils Replace local prototype of basename() with an inclusion of <libgen.h>. 2016-05-29 16:10:01 +00:00
bmake Merge bmake-20160512 2016-05-20 17:35:39 +00:00
bsnmp Revert r299830, it has couple of fatal errors. 2016-05-18 22:02:19 +00:00
byacc Merge byacc 20160324. 2016-03-25 22:32:26 +00:00
bzip2
com_err
compiler-rt Update compiler-rt to release_38 branch r261369. 2016-02-21 16:27:55 +00:00
dialog
diff
dma Fix build with gcc 4.2 2015-10-11 17:45:20 +00:00
dtc
ee
elftoolchain Update to ELF Tool Chain r3477 2016-05-25 20:56:30 +00:00
expat Fix multiple integer overflows in expat. 2015-08-18 19:30:04 +00:00
file MFV r299716: file 5.27 2016-05-14 08:52:37 +00:00
flex
gcc gcc42: Fix minor C99 parse bug 2016-05-27 03:40:52 +00:00
gcclibs In gcc's libcpp, stop using the INTTYPE_MAXIMUM() macro, which relies on 2015-08-12 20:16:13 +00:00
gdb Fix KGDB backtrace on ARM 2016-04-20 17:58:13 +00:00
gdtoa
gperf
groff Add SUSv4 reference macro to our groff mdoc. mdocml already supports it. 2016-05-17 09:24:54 +00:00
hyperv/tools hyperv/kvp_daemon: Make poll(2) block indefinitely 2016-01-11 03:30:16 +00:00
ipfilter Fix another typo. 2016-05-19 03:18:54 +00:00
jemalloc Work around invalid gcc warning (explicit cast apparently lost). 2016-05-13 21:18:10 +00:00
ldns
ldns-host
less MFV r293125: less v481. 2016-01-05 05:25:16 +00:00
libarchive Revert r299576 and MFV r299895: 2016-05-16 05:01:44 +00:00
libbegemot
libc-pwcache
libc-vis
libc++ Update libc++ to 3.8.0. Excerpted list of fixes (with upstream revision 2016-05-26 18:52:49 +00:00
libcxxrt Import libcxxrt master 516a65c109eb0a01e5e95fbef455eb3215135cef. 2016-05-05 22:40:07 +00:00
libexecinfo backtrace.3: Fix prototype of backtrace_symbols_fd_fmt(). 2015-12-22 22:40:42 +00:00
libgnuregex
libpcap libpcap: fix for simple NULL pointer dereference. 2016-04-14 18:31:45 +00:00
libreadline
libstdc++
libucl Import libucl 0.8.0 2016-04-17 21:30:40 +00:00
libxo Submitted by: phil 2016-05-29 01:43:28 +00:00
llvm Pull in r269908 from upstream llvm trunk (by James Molloy): 2016-05-29 20:54:16 +00:00
mdocml Convert casperd(8) daemon to the libcasper. 2016-02-25 18:23:40 +00:00
mknod
mtree
ncurses DIRDEPS_BUILD: Run the staged bootstrap-tools version of build-tools. 2016-05-09 22:21:09 +00:00
netbsd-tests Remove legacy brk and sbrk from RISC-V. 2016-05-25 14:08:21 +00:00
netcat MFV r288243: nc from OpenBSD 5.8. 2015-09-27 07:04:16 +00:00
ngatm
ntp MFV r298691: 2016-04-27 07:46:38 +00:00
nvi
ofed Make GCC happy by removing empty #elif. 2016-03-25 04:16:04 +00:00
one-true-awk
openbsm Regenerate config.h for OpenBSM 1.2 alpha 4. 2015-12-18 09:49:11 +00:00
openpam Restore the upstream (and documented) behavior of searching for modules 2015-09-21 17:26:35 +00:00
openresolv MFV r296350: 2016-03-03 15:36:00 +00:00
opie
pam_modules/pam_passwdqc
pf Rename getline with get_line to avoid collision with getline(3) 2016-05-10 11:09:26 +00:00
pjdfstest Better handle filesystems mounted with -o noexec 2016-03-12 19:41:38 +00:00
pnpinfo
sendmail Remove unneeded libutil dependency for sendmail. 2015-11-24 04:19:55 +00:00
serf Update serf from 1.3.7 to 1.3.8. Mostly disables sslv2 and sslv3. 2015-08-09 05:16:14 +00:00
smbfs Add #include <string.h> to mute warning from clang/gcc about implicitly 2016-02-01 07:09:08 +00:00
sqlite3 Import sqlite3 3.12.1 2016-04-17 21:23:14 +00:00
subversion Re-sync the FreeBSD-specific Subversion template with the one from 2016-05-03 18:06:42 +00:00
tcp_wrappers
tcpdump Convert casperd(8) daemon to the libcasper. 2016-02-25 18:23:40 +00:00
tcsh
telnet
tnftp
top The readme provides a high-level overview of how to upgrade top(1). 2016-05-26 07:09:42 +00:00
traceroute
tzcode Merge: 2015-10-08 11:42:15 +00:00
tzdata MFV of 290695,tzdata2015g 2015-11-12 03:25:04 +00:00
unbound Apply upstream r3651: the IPv6 address of the L root has changed. 2016-03-11 14:57:40 +00:00
unvis
vis
wpa [wpa] use IFM_IEEE80211_ADHOC for now on FreeBSD for IBSS operation. 2015-11-26 17:28:40 +00:00
xz MFV r291123: 2015-11-21 09:09:25 +00:00