head 1.2; access; symbols pkgsrc-2026Q3:1.1.0.66 pkgsrc-2026Q3-base:1.1 pkgsrc-2026Q2:1.1.0.64 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.62 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.60 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.58 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.56 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.54 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.52 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.50 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.48 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.46 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.44 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.42 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.40 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.38 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.36 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.34 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.32 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.30 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.28 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.26 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.24 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.22 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.20 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.18 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.16 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.12 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.14 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.10 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.8 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.6 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.4 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.2; locks; strict; comment @# @; 1.2 date 2026.10.26.16.47.06; author wiz; state dead; branches; next 1.1; commitid Cq4CtWp7jzeFt01H; 1.1 date 2018.10.18.19.26.16; author leot; state Exp; branches 1.1.2.1; next ; commitid Ugghw0l1TCiyAtWA; 1.1.2.1 date 2018.10.18.19.26.16; author spz; state dead; branches; next 1.1.2.2; commitid 6HhEWZJwlzV5sIWA; 1.1.2.2 date 2018.10.20.16.12.15; author spz; state Exp; branches; next ; commitid 6HhEWZJwlzV5sIWA; desc @@ 1.2 log @patch: update to 2.8.1. Changes in version 2.8.1: * Prevent creation of out-of-tree files (CVE-2026-115207). Changes in version 2.8: * The --follow-symlinks option now applies to output files as well as input. * 'patch' now supports file timestamps after 2038 even on traditional GNU/Linux platforms where time_t defaults to 32 bits. * 'patch' no longer creates files with names containing newlines, as encouraged by POSIX.1-2024. * Patches can no longer contain NUL ('\0') bytes in diff directive lines. These bytes would otherwise cause unpredictable behavior. * Patches can now contain sequences of spaces and tabs around line numbers and in other places where POSIX requires support for these sequences. * --enable-gcc-warnings no longer uses expensive static checking. Use --enable-gcc-warnings=expensive if you still want it. * Fix undefined or ill-defined behavior in unusual cases, such as very large sizes, possible stack overflow, I/O errors, memory exhaustion, races with other processes, and signals arriving at inopportune moments. * Remove old "Plan B" code, designed for machines with 16-bit pointers. * Assume C99 or later; previously it assumed C89 or later. * Port to current GCC, Autoconf, Gnulib, etc. @ text @$NetBSD: patch-tests_ed-style,v 1.1 2018/10/18 19:26:16 leot Exp $ - Add ed-style test, related to CVE-2018-1000156 fix. --- tests/ed-style.orig 2018-10-09 17:51:47.148455875 +0000 +++ tests/ed-style @@@@ -0,0 +1,41 @@@@ +# Copyright (C) 2018 Free Software Foundation, Inc. +# +# Copying and distribution of this file, with or without modification, +# in any medium, are permitted without royalty provided the copyright +# notice and this notice are preserved. + +. $srcdir/test-lib.sh + +require cat +use_local_patch +use_tmpdir + +# ============================================================== + +cat > ed1.diff < ed2.diff < /dev/null || echo "Status: $?"' < ed1.diff < ed2.diff < /dev/null || echo "Status: $?"' <