Dirk Mueller
87aff9e33b
- Fix CVE-2022-48303, tar has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump (CVE-2022-48303, bsc#1207753) * fix-CVE-2022-48303.patch - Fix hang when unpacking test tarball, bsc#1202436 * remove bsc1202436.patch * bsc1202436-1.patch * bsc1202436-1.patch OBS-URL: https://build.opensuse.org/request/show/1065759 OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=120
28 lines
737 B
Diff
28 lines
737 B
Diff
Index: tar-1.34/tests/testsuite.at
|
|
===================================================================
|
|
--- tar-1.34.orig/tests/testsuite.at
|
|
+++ tar-1.34/tests/testsuite.at
|
|
@@ -204,6 +204,8 @@ m4_include([version.at])
|
|
|
|
m4_include([pipe.at])
|
|
|
|
+m4_include([go-testsuite-test-hang.at])
|
|
+
|
|
AT_BANNER([Options])
|
|
m4_include([options.at])
|
|
m4_include([options02.at])
|
|
Index: tar-1.34/suse-test.at
|
|
===================================================================
|
|
--- /dev/null
|
|
+++ tar-1.34/tests/go-testsuite-test-hang.at
|
|
@@ -0,0 +1,9 @@
|
|
+AT_SETUP([try extracting archive without hanging])
|
|
+AT_KEYWORDS([suse])
|
|
+
|
|
+AT_TAR_CHECK([
|
|
+# This command will fail, just don't hang
|
|
+tar xf ../../../pax-global-records.tar || exit 0
|
|
+])
|
|
+
|
|
+AT_CLEANUP
|