This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=11a8426fb30d94bd36e0122e48fe13ee928f1c14

commit 11a8426fb30d94bd36e0122e48fe13ee928f1c14
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Wed Aug 26 02:41:20 2020 +0200

    dpkg-deb: Make decompression error message more descriptive
    
    Print both the ar member being decompressed, and its size, so that
    truncated archives can more easily be detected after the fact.
    
    Closes: #968442
---
 dpkg-deb/extract.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dpkg-deb/extract.c b/dpkg-deb/extract.c
index 605a18440..d0f6cb6c4 100644
--- a/dpkg-deb/extract.c
+++ b/dpkg-deb/extract.c
@@ -298,7 +298,9 @@ extracthalf(const char *debar, const char *dir,
     if (taroption)
       close(p2[0]);
     decompress_filter(decompressor, p1[0], p2_out,
-                      _("decompressing archive member"));
+                      _("decompressing archive '%s' (size=%jd) member '%s'"),
+                      ar->name, (intmax_t)ar->size,
+                      admininfo ? ADMINMEMBER : DATAMEMBER);
     exit(0);
   }
   close(p1[0]);

-- 
Dpkg.Org's dpkg

Reply via email to