<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/toolchain, branch v19.07.7</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v19.07.7</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v19.07.7'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2021-01-01T13:31:49Z</updated>
<entry>
<title>glibc: update to latest 2.27 commit</title>
<updated>2021-01-01T13:31:49Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2020-12-31T17:22:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=e29002471734dbba927d43f0b23818ddc5f551a7'/>
<id>urn:sha1:e29002471734dbba927d43f0b23818ddc5f551a7</id>
<content type='text'>
daf88b1dd1 Add NEWS entry for CVE-2020-6096 (bug 25620)
b29853702e arm: CVE-2020-6096: Fix multiarch memcpy for negative length [BZ #25620]
bad8d5ff60 arm: CVE-2020-6096: fix memcpy and memmove for negative length [BZ #25620]
d64ad0a517 Fix use-after-free in glob when expanding ~user (bug 25414)
34ce87638c Fix array overflow in backtrace on PowerPC (bug 25423)
0df8ecff9e misc/test-errno-linux: Handle EINVAL from quotactl
26f5442ec1 &lt;string.h&gt;: Define __CORRECT_ISO_CPP_STRING_H_PROTO for Clang [BZ #25232]
4b64a4245c intl/tst-gettext: fix failure with newest msgfmt
dc7f51bda9 aarch64: Fix DT_AARCH64_VARIANT_PCS handling [BZ #26798]
8edc96aa33 aarch64: add HWCAP_ATOMICS to HWCAP_IMPORTANT
599ebfacc0 aarch64: Remove HWCAP_CPUID from HWCAP_IMPORTANT

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>toolchain: kernel-headers: kernel Git tree mirror hash</title>
<updated>2020-12-05T19:50:19Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-11-21T14:59:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=d83040313390f56c22ff020f0f20da8f05e98e35'/>
<id>urn:sha1:d83040313390f56c22ff020f0f20da8f05e98e35</id>
<content type='text'>
Allow setting of mirror hash for Git kernel tree.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit 796d51834c5be85771d26e433fd509cd3bef72e3)
</content>
</entry>
<entry>
<title>toolchain: kernel-headers: fix check target for kernel Git tree</title>
<updated>2020-12-05T19:50:19Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-11-21T15:05:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=8c2bb1d9b6b71be31ff79c1783b42b457d305cd0'/>
<id>urn:sha1:8c2bb1d9b6b71be31ff79c1783b42b457d305cd0</id>
<content type='text'>
Currently the check target fails if the kernel Git tree is used:

 $ make toolchain/kernel-headers/{download,check}

  make[2]: Entering directory 'toolchain/kernel-headers'
  Makefile:105: *** ERROR: Unknown pack format for file openwrt/tmp/dl/.  Stop.
  make[2]: Leaving directory 'toolchain/kernel-headers'
  toolchain/Makefile:100: recipe for target 'toolchain/kernel-headers/check' failed

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit bb7ba6b6a81d1fb7ac6075edfd8e8b713dd61db2)
</content>
</entry>
<entry>
<title>musl: handle wcsnrtombs destination buffer overflow (CVE-2020-28928)</title>
<updated>2020-11-23T21:37:03Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-11-20T12:13:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=733a48273383e2337fcd7c0eb5ee8958f42dc4c0'/>
<id>urn:sha1:733a48273383e2337fcd7c0eb5ee8958f42dc4c0</id>
<content type='text'>
The wcsnrtombs function in all musl libc versions up through 1.2.1 has
been found to have multiple bugs in handling of destination buffer
size when limiting the input character count, which can lead to
infinite loop with no forward progress (no overflow) or writing past
the end of the destination buffera.

This function is not used internally in musl and is not widely used,
but does appear in some applications. The non-input-limiting form
wcsrtombs is not affected.

All users of musl 1.2.1 and prior versions should apply the attached
patch, which replaces the overly complex and erroneous implementation.
The upcoming 1.2.2 release will adopt this new implementation.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit 4d4ef1058c0f10aa2fa4070cd6b9db4d48b94148)
</content>
</entry>
<entry>
<title>musl: fix locking synchronization bug</title>
<updated>2020-05-26T21:49:40Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2020-05-23T19:16:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=83b714a27ff3f3a394dfb1c8f6f05467a093a91a'/>
<id>urn:sha1:83b714a27ff3f3a394dfb1c8f6f05467a093a91a</id>
<content type='text'>
Import proposed upstream fix [2] for the critical locking
synchronization bug recently found in musl [1].

This affects all programs that are temporarily multithreaded, but then
return to single-threaded operation.

[1] https://www.openwall.com/lists/musl/2020/05/22/3
[2] https://www.openwall.com/lists/musl/2020/05/22/10

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
(cherry picked from commit 10c211031ccd4703230493025a5a3b9d6fcad2f2)
</content>
</entry>
<entry>
<title>toolchain/gcc: Backport patch to fix unconditional MULTIARCH_DIRNAME</title>
<updated>2019-12-22T23:31:20Z</updated>
<author>
<name>Jeffery To</name>
</author>
<published>2019-11-18T22:04:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=d2e87c780089a74b6c0ad84e21f73021fb5ec27a'/>
<id>urn:sha1:d2e87c780089a74b6c0ad84e21f73021fb5ec27a</id>
<content type='text'>
This backports the patch for GCC PR target/89587 (gcc's rs6000
configuration unconditionally sets MULTIARCH_DIRNAME, even when
multiarch is disabled).

This currently affects apm821xx and may cause issues when
cross-compiling packages, e.g. Python 3[1].

This includes patches for GCC 8 (with the changelog diff removed);
this change is already included in GCC 9.2 and 7.5.

[1]: https://github.com/openwrt/packages/issues/10552

Signed-off-by: Jeffery To &lt;jeffery.to@gmail.com&gt;
[Removed patch for GCC 7.4.0, GCC 7.5.0 already contains this]
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit c102f702e7dc976c2ad2c04c0ce4462373e62365)
</content>
</entry>
<entry>
<title>toolchain/gcc: correct the check expr for newer clang</title>
<updated>2019-12-22T23:31:13Z</updated>
<author>
<name>Yorkie Liu</name>
</author>
<published>2019-11-19T05:41:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=a7d880e830cf786941c14f5fd410a7e918ffcb5d'/>
<id>urn:sha1:a7d880e830cf786941c14f5fd410a7e918ffcb5d</id>
<content type='text'>
This fixes gcc build error within clang 11.0, it tweaks the version
string from LLVM to clang.

Signed-off-by: Yorkie Liu &lt;yorkiefixer@gmail.com&gt;
(cherry picked from commit 65a561fd0919eafff2363ae8324db64be2a57f77)
</content>
</entry>
<entry>
<title>glibc: update to latest 2.27 commit (BZ #2503, BZ #2504)</title>
<updated>2019-12-14T13:06:33Z</updated>
<author>
<name>Hans Dedecker</name>
</author>
<published>2019-12-11T21:27:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=3959f11005965eb536396a8c258f0ab944eb598d'/>
<id>urn:sha1:3959f11005965eb536396a8c258f0ab944eb598d</id>
<content type='text'>
bef0b1cb31 libio: Disable vtable validation for pre-2.1 interposed handles [BZ #25203]
4d5cfeb510 rtld: Check __libc_enable_secure before honoring LD_PREFER_MAP_32BIT_EXEC (CVE-2019-19126) [BZ #25204]
92f04eedb5 mips: Force RWX stack for hard-float builds that can run on pre-4.8 kernels

Signed-off-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
</entry>
<entry>
<title>glibc: backport fix for regexec buffer read overrun</title>
<updated>2019-12-14T13:06:22Z</updated>
<author>
<name>Alin Nastac</name>
</author>
<published>2019-11-21T13:06:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=a50c2190d31d2d95755d55183e9f420dc0a82869'/>
<id>urn:sha1:a50c2190d31d2d95755d55183e9f420dc0a82869</id>
<content type='text'>
Problem found by AddressSanitizer[1]:

 Latest `grep` (git commit 1019e6e) compiled with asan may cause a
 heap-buffer-overflow when `-i` is specified.

     ./grep -i '\(\(\)*.\)*\(\)\(\)\1' /bin/chvt

 =================================================================
 ==16206==ERROR: AddressSanitizer: heap-buffer-overflow on address

1. https://debbugs.gnu.org/34140

Ref: https://sourceware.org/bugzilla/show_bug.cgi?id=24114
Signed-off-by: Alin Nastac &lt;alin.nastac@gmail.com&gt;
[commit title and description facelift]
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>glibc: update to latest 2.27 commit (BZ#23637)</title>
<updated>2019-12-14T13:06:03Z</updated>
<author>
<name>Hans Dedecker</name>
</author>
<published>2019-09-17T20:11:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=929c6d733a05a8dd137de13b026812d13476181a'/>
<id>urn:sha1:929c6d733a05a8dd137de13b026812d13476181a</id>
<content type='text'>
5b4f7382af Add undef to fix test failure.
9456483fb2 Improve performance of memmem
373f8b06a3 Improve performance of strstr
4ec1b9e913 Fix strstr bug with huge needles (bug 23637)
ecd6271ed8 Speedup first memmem match
bba6b9288f Simplify and speedup strstr/strcasestr first match
7a4da6ef7a Improve strstr performance

Signed-off-by: Hans Dedecker &lt;dedeckeh@gmail.com&gt;
</content>
</entry>
</feed>
