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

guillem pushed a commit to branch main
in repository dpkg.

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

commit d023a9c3b50fa2384454600e3c2853fb5e01eecf
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Thu Oct 12 06:02:38 2023 +0200

    dpkg-deb: Initialize threads_max in no-uniform-compression mode
    
    We need to initialize the struct member, otherwise it might contain
    unknown garbage.
    
    Changelog: internal
    Stable-Candidate: 1.21.x
---
 src/deb/build.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/deb/build.c b/src/deb/build.c
index 175ee907b..e292de413 100644
--- a/src/deb/build.c
+++ b/src/deb/build.c
@@ -630,6 +630,7 @@ do_build(const char *const *argv)
     control_compress_params.type = COMPRESSOR_TYPE_GZIP;
     control_compress_params.strategy = COMPRESSOR_STRATEGY_NONE;
     control_compress_params.level = -1;
+    control_compress_params.threads_max = -1;
     if (!compressor_check_params(&control_compress_params, &err))
       internerr("invalid control member compressor params: %s", err.str);
   }

-- 
Dpkg.Org's dpkg

Reply via email to