diff options
author | chuck <chuck@pkgsrc.org> | 2022-06-08 19:00:13 +0000 |
---|---|---|
committer | chuck <chuck@pkgsrc.org> | 2022-06-08 19:00:13 +0000 |
commit | 39b367cfd5a9a2af5571328ad14956f52ac82ca3 (patch) | |
tree | bb82139c214ce0a4ee908d23f0e73023f1fbc8b8 /doc | |
parent | 0ff8da4753b6d8f8b976e8f7b210cb31f4aa9b36 (diff) | |
download | pkgsrc-39b367cfd5a9a2af5571328ad14956f52ac82ca3.tar.gz |
work around clang compiler issue and malloc overflow in t1lib
there are two bugs in fonts/t1lib that cause math/grace to crash on OSX:
[1] compiler bug in some versions of clang when compiling with "-O2" ...
this appears to have been fixed somewhere between clang-11 and clang-12.
it works ok with "-O1" and it doesn't impact my NetBSD system (which
has gcc instead of clang). resolve by using memcpy() in LONGCOPY()
macro rather than using custom code that triggers the clang issue.
see: https://mail-index.netbsd.org/tech-pkg/2022/06/08/msg026367.html
[2] one case of t1lib trying to be clever and instead writing past end of
malloc'd buffer (which the OSX malloc did not like at all; the netbsd
malloc did not get messed up by this). the address sanitizer helped
pinpoint this.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/CHANGES-2022 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/CHANGES-2022 b/doc/CHANGES-2022 index 554fae76f5b..6b4e9e7af73 100644 --- a/doc/CHANGES-2022 +++ b/doc/CHANGES-2022 @@ -1,4 +1,4 @@ -$NetBSD: CHANGES-2022,v 1.2960 2022/06/08 17:57:17 adam Exp $ +$NetBSD: CHANGES-2022,v 1.2961 2022/06/08 19:00:13 chuck Exp $ Changes to the packages collection and infrastructure in 2022: @@ -4523,3 +4523,4 @@ Changes to the packages collection and infrastructure in 2022: Updated devel/py-filelock to 3.7.1 [adam 2022-06-08] Updated lang/python310 to 3.10.5 [adam 2022-06-08] Updated lang/py310-html-docs to 3.10.5 [adam 2022-06-08] + Updated fonts/t1lib to 5.1.2nb7 [chuck 2022-06-08] |