Package: patch / 2.7.6-3

Metadata

Package Version Patches format
patch 2.7.6-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
path_max | (download)

src/util.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

---
558485 backupmode | (download)

patch.man | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

---
m merge | (download)

src/patch.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
Fix_segfault_with_mangled_rename_patch.patch | (download)

src/pch.c | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 fix segfault with mangled rename patch

http://savannah.gnu.org/bugs/?53132
Allow_input_files_to_be_missing_for_ed style_patches.patch | (download)

src/pch.c | 8 5 + 3 - 0 !
1 file changed, 5 insertions(+), 3 deletions(-)

 allow input files to be missing for ed-style patches

* src/pch.c (do_ed_script): Allow input files to be missing so that new
files will be created as with non-ed-style patches.

Fix_arbitrary_command_execution_in_ed style_patches.patch | (download)

src/pch.c | 91 66 + 25 - 0 !
tests/Makefile.am | 1 1 + 0 - 0 !
tests/ed-style | 41 41 + 0 - 0 !
3 files changed, 108 insertions(+), 25 deletions(-)

 fix arbitrary command execution in ed-style patches
 (CVE-2018-1000156)

* src/pch.c (do_ed_script): Write ed script to a temporary file instead
of piping it to ed: this will cause ed to abort on invalid commands
instead of rejecting them and carrying on.
* tests/ed-style: New test case.
* tests/Makefile.am (TESTS): Add test case.

0001 Fix ed style test failure.patch | (download)

tests/ed-style | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 [patch] fix 'ed-style' test failure.

* tests/ed-style: Remove '?' line from expected output.