diff options
author | Bernhard Rosenkränzer <bero@lindev.ch> | 2022-06-24 20:39:03 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2022-06-28 14:51:02 +0300 |
commit | 6b70667f837edd7a13b177010a55928368b046f1 (patch) | |
tree | e08395174177b8e0924faf41d4961894497a80b6 | |
parent | ae18b24f5096bf756553286024473a651c8258a9 (diff) | |
download | rpm-6b70667f837edd7a13b177010a55928368b046f1.tar.gz |
Fix unterminated macros in rpmuncompress
Fix unterminated macros being called when rpmuncompress
tries to expand an lrzip, 7zip or zstd compressed file
(cherry picked from commit 5f8ac6d1ad060955b5370a2ea5e12d88e3f4174d)
-rw-r--r-- | tools/rpmuncompress.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/rpmuncompress.c b/tools/rpmuncompress.c index 55aac4c44..bd4146d54 100644 --- a/tools/rpmuncompress.c +++ b/tools/rpmuncompress.c @@ -41,9 +41,9 @@ struct archiveType_s { { COMPRESSED_LZMA, 0, "%{__xz}", "-dc", "" }, { COMPRESSED_XZ, 0, "%{__xz}", "-dc", "" }, { COMPRESSED_LZIP, 0, "%{__lzip}", "-dc", "" }, - { COMPRESSED_LRZIP, 0, "%{__lrzip", "-dqo-", "" }, - { COMPRESSED_7ZIP, 1, "%{__7zip", "x", "" }, - { COMPRESSED_ZSTD, 0, "%{__zstd", "-dc", "" }, + { COMPRESSED_LRZIP, 0, "%{__lrzip}", "-dqo-", "" }, + { COMPRESSED_7ZIP, 1, "%{__7zip}", "x", "" }, + { COMPRESSED_ZSTD, 0, "%{__zstd}", "-dc", "" }, { COMPRESSED_GEM, 1, "%{__gem}", "unpack", "" }, { -1, 0, NULL, NULL, NULL }, }; |