summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2011-12-15 20:07:36 +0000
committermiod <miod@openbsd.org>2011-12-15 20:07:36 +0000
commit1c882712a0bdad6acfd755981a717ad1321c978e (patch)
tree3c8719e984e8a7692e7886a147153cc1b0d31b5e /sys
parentbetter size check (diff)
downloadwireguard-openbsd-1c882712a0bdad6acfd755981a717ad1321c978e.tar.xz
wireguard-openbsd-1c882712a0bdad6acfd755981a717ad1321c978e.zip
In duplicate_decls(), don't try to take advantage of the ``permanent_obstack''
memory usage optimization, because this code is just bogus and causes access-beyond-allocated-size SIGSEGV in the wild. This is part of a larger diff (being worked on) backporting the removal of ``permanent_obstack'' completely from gcc, as done by the gcc folks in 3.x after they came to their senses (or got tired of dissecting coredumps on platforms with strong malloc implementations). Only affects m68k, m88k and vax; collecting dust in the m88k tree, commit triggered by sebastia@ via espie@ as this fixes the devel/gperf port on vax.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions