slackware-current/patches/source/coreutils/coreutils.wc.noavx2.diff
Patrick J Volkerding 3874039d9c Fri Mar 29 02:25:21 UTC 2024
patches/packages/coreutils-9.5-x86_64-1_slack15.0.txz:  Upgraded.
  chmod -R now avoids a race where an attacker may replace a traversed file
  with a symlink, causing chmod to operate on an unintended file.
  [This bug was present in "the beginning".]
  split --line-bytes with a mixture of very long and short lines no longer
  overwrites the heap.
  For more information, see:
    https://www.cve.org/CVERecord?id=CVE-2024-0684
  (* Security fix *)
2024-03-29 13:30:42 +01:00

11 lines
297 B
Diff

--- ./src/wc.c.orig 2023-08-29 06:39:27.000000000 -0500
+++ ./src/wc.c 2023-08-29 13:24:53.642035314 -0500
@@ -147,7 +147,7 @@
static bool
avx2_supported (void)
{
- bool avx_enabled = 0 < __builtin_cpu_supports ("avx2");
+ bool avx_enabled = 0;
if (debug)
error (0, 0, (avx_enabled