Changelog for
patch-2.7.5-8.13.1.x86_64.rpm :
* Tue Jul 30 2024 wolfgang.frischAATTsuse.com- CVE-2019-20633.patch: Fix double-free/OOB read in pch.c (bsc#1167721)
* Wed May 18 2022 jdelvareAATTsuse.de- fix-swapping-fake-lines-in-pch_swap.patch: Fix swapping fake lines in pch_swap. This bug was causing a double free leading to a crash (boo#1080985 CVE-2018-6952).- dont-follow-symlinks-unless-asked.patch: Don\'t follow symlinks unless --follow-symlinks is given. This increases the security against malicious patches (boo#1142041 CVE-2019-13636).- pass-the-correct-stat-to-backup-files.patch: Pass the correct stat to backup files. This bug would occasionally cause backup files to be missing when all hunks failed to apply (boo#1198106).- ed-style-07-dont-leak-tmp-file.patch, ed-style-08-dont-leak-tmp-file-multi.patch: Fix temporary file leak when applying ed-style patches (bsc#1092500, savannah#53820).- fix-out-of-bounds-access.patch: Fix mainline tag.
* Wed Apr 25 2018 jdelvareAATTsuse.deFix CVE-2018-1000156 (bsc#1088420, savannah#53566).- ed-style-01-missing-input-files.patch: Allow input files to be missing for ed-style patches.- ed-style-02-fix-arbitrary-command-execution.patch, ed-style-03-update-test-Makefile.patch: Fix arbitrary command execution in ed-style patches.- ed-style-04-invoke-ed-directly.patch: Invoke ed directly instead of using the shell.- ed-style-05-minor-cleanups.patch: Minor cleanups in do_ed_script.- ed-style-06-fix-test-failure.patch: Fix \'ed-style\' test failure.- Add ed as BuildRequires so ed-style patches can be checked by the test suite.
* Wed Mar 21 2018 jdelvareAATTsuse.de- Add AUTHORS and COPYING to %doc.- fix-out-of-bounds-access.patch: Fix out-of-bounds access to lines in a patch (bsc#1080918, CVE-2016-10713).- fix-segfault-mangled-rename.patch: Fix segfault with mangled rename patch (bsc#1080951, CVE-2018-6951, savannah#53132).
* Mon Jun 01 2015 jdelvareAATTsuse.de- patch 2.7.5 Contains a security fix for a directory traversal flaw when handling git-style patches. This could allow an attacker to overwrite arbitrary files by applying a specially crafted patch. [boo#913678] [CVE-2015-1196] Contains a security fix for a directory traversal flaw when handling patches which rename files. This could allow an attacker to overwrite arbitrary files by applying a specially crafted patch. [bsc#915328] [CVE-2015-1395] Contains a security fix for a directory traversal flaw via symbolic links. This could allow an attacker to overwrite arbitrary files by applying a specially crafted patch. [bsc#915329] [CVE-2015-1396] + Fix crash after reporting error during option parsing. + With git-style patches, symlinks that point outside the working directory will no longer be created (CVE-2015-1196). + When a file isn\'t being deleted because the file contents don\'t match the patch, the resulting message is now \"Not deleting file ... as content differs from patch\" instead of \"File ... is not empty after patch; not deleting\". + Function names in hunks (from diff -p) are now preserved in reject files. [boo#904519] + Do not change permissions if there isn\'t an explicit mode change. + Fix indentation heuristic for context diffs.
* Thu Dec 06 2012 jdelvareAATTsuse.de- Back to bz2 archive format as old products lack xz.
* Thu Dec 06 2012 jdelvareAATTsuse.de- Version 2.7.1 + Patch no longer gets a failed assertion for certain mangled patches. + Ignore destination file names that are absolute or that contain a component of \"..\", except when working in the root directory. This addresses CVE-2010-4651. + Support for most features of the \"diff --git\" format, including renames and copies, permission changes, and symlink diffs. Binary diffs are not supported yet; patch will complain and skip them. + Support for double-quoted filenames: when a filename starts with a double quote, it is interpreted as a C string literal. The escape sequences \\\\, \\\", \\a, \\b, \\f, \
, \\r, \\t, \\v, and \\ooo (a three-digit octal number between 0 and 255) are recognized. + Refuse to apply a normal patch to a symlink. (Previous versions of patch were replacing the symlink with a regular file.) + New --follow-symlinks option to allow to treat symlinks as files: this was patch\'s behavior before version 2.7. + When trying to modify a read-only file, warn about the potential problem by default. The --read-only command line option allows to change this behavior. + Files to be deleted are deleted once the entire input has been processed, not immediately. This fixes a bug with numbered backup files. + When a timestamp specifies a time zone, honor that instead of assuming the local time zone (--set-date) or Universal Coordinated Time (--set-utc). + Support for nanosecond precision timestamps. + Many bug fixes. + Clarify the message printed when a patch is expected to empty out and delete a file, but the file does not become empty. + Various improvements to messages when applying a patch to a file of different type (regular file vs. symlink), when there are line ending differences (LF vs. CRLF), and when in - -dry-run mode. + Ignore when extended attributes cannot be preserved because they are unsupported or because permission to set them is denied.- patch-revert-e0f70752.patch: Dropped, original bug fixed upstream.- patch-stdio.in.patch: Dropped, merged upstream.
* Tue Jul 17 2012 ajAATTsuse.de- patch-stdio.in.patch: Fix build with missing gets declaration (glibc 2.16)
* Fri Apr 06 2012 jdelvareAATTsuse.de- patch-revert-e0f70752.patch: Revert broken upstream commit (bnc#755136).
* Wed Apr 04 2012 jdelvareAATTsuse.de- Version 2.6.1.136
* Wed Oct 05 2011 uliAATTsuse.com- cross-build fix: use %configure macro
* Mon Apr 04 2011 jdelvareAATTsuse.de- Version 2.6.1.116: + Patch now ignores destination file names that are absolute or that contain a component of \"..\" (CVE-2010-4651, bnc#662957).- Drop unified-reject-files-compat.diff. Compatibility has been provided for the past 18 months, hopefully nobody is relying on it any longer.
* Fri Jul 02 2010 jengelhAATTmedozas.de- Use %_smp_mflags
* Tue May 04 2010 agruenAATTsuse.de- Version 2.6.1.81: + Fix backup file detection for deleted files + Allow to create and delete empty files + Stick to the best name in the reversed-patch check + Various portability improvements
* Sun May 02 2010 agruenAATTsuse.de- Fix the linker library order.
* Sun May 02 2010 agruenAATTsuse.de- Be more verbose when %verbose is defined.
* Sun May 02 2010 agruenAATTsuse.de- Version 2.6.1.64: + Support for most features of the \"diff --git\" format: renames and copies, permission changes, symlink diffs. (Binary diffs are not supported yet; patch will complain and skip them.) + Support for double-quoted filenames: when a filename in a context diff starts with a double quote, it is interpreted as a C string literal. The escape sequences \\\\, \\\", \\a, \\b, \\f, \
, \\r, \\t, \\v, and \\ooo (a three-digit octal number between 0 and 255) are recognized. + Refuse to patch read-only files by default, or at least warn when patching such files with --force or --batch. + Refuse to apply a normal patch to a symlink. (Previous versions of patch were wrongly replacing the symlink with a regular file.) + When a timestamp specifies a time zone, honor that instead of assuming the local time zone (--set-date) or Universal Coordinated Time (--set-utc). + Support for nanosecond precision timestamps. + Many portability and bug fixes.
* Sun Jan 31 2010 agruenAATTsuse.de- Version 2.6.1.9: + Skip another ed-dependent test when ed isn\'t installed. + More portability fixes.
* Wed Dec 30 2009 agruenAATTsuse.de- Version 2.6.1: + Support for diff3(1) style merges which show the old, original, and new lines of a conflict has been added (--merge=diff3). The default still is the merge(1) format (--merge or - -merge=merge). + Bug and portability fixes. Sun Dec 6 17:32:57 CET 2009 - jengelh- enable parallel building
* Fri Nov 13 2009 agruenAATTsuse.de- Version 2.6.
* Mon Sep 07 2009 agruenAATTsuse.de- Version 2.5.9.122: + Try to preserve the owning group of patched files.- Add --unified-reject-files backwards-compatibility patch to older SUSE versions of patch.
* Mon Jul 20 2009 agruenAATTsuse.de- Version 2.5.9.120: + When copying files, use full_write() from gnulib instead of write(). + The -m option hasn\'t been officially allocated yet. Use only the long form for now (--merge).
* Fri Jun 19 2009 agruenAATTsuse.de- Version 2.5.9.118: + Change the default value of PATCH_GET to 0. + When merging, make sure that hunks will not end up \"out of order\" + When the file to patch is specified on the command line, apply all patches to that file + Some portability fixes/improvements + Don\'t fail when removing nonexistent files in move_file
* Wed Apr 08 2009 agruenAATTsuse.de- Version 2.5.9.109: + Preserve timestamps in reject files. + Add support for sending output to standard output. + Allow special characters in filenames read interactively. + Don\'t forget to NUL terminate ptimestr in fetchname().
* Tue Apr 07 2009 agruenAATTsuse.de- Version 2.5.9.104: timestamp parsing fix, 64-bit fix.
* Mon Apr 06 2009 agruenAATTsuse.de- Version 2.5.9.97: Another bugfix.
* Mon Apr 06 2009 agruenAATTsuse.de- Version 2.5.9.95: Gnulib update, bug fixes.
* Fri Apr 03 2009 agruenAATTsuse.de- Update to version patch-2.5.9.77: updated manpage and NEWS, no strict depenency on ed in the test suite anymore, and slightly improved handling of asymmetric hunks.
* Thu Apr 02 2009 agruenAATTsuse.de- Update to version patch-2.5.9.69 which has all our patches merged in one form or anther, along with many other fixes and improvements (see NEWS).