#1011717 pixz: FTBFS: ../src/write.c:460:24: error: Uninitialized variable: obuf [uninitvar]

Package:
src:pixz
Source:
pixz
Submitter:
Lucas Nussbaum
Date:
2022-05-27 14:54:12 UTC
Severity:
serious
Tags:
#1011717#5
Date:
2022-05-26 06:40:55 UTC
From:
To:
Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
The full build log is available from:
http://qa-logs.debian.net/2022/05/25/pixz_1.0.7-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

#1011717#10
Date:
2022-05-27 07:54:48 UTC
From:
To:
The problem appear to be two occurrences of uninitialized variables which gets
reported by `cppcheck` 2.8 during build. Older versions of `cppcheck` didn't
report that problem, this is why the package built without problems initially.

Reported upstream to https://github.com/vasi/pixz/issues/103
Submitted MR: https://github.com/vasi/pixz/pull/104

Attached the patch exported such that it can be added to the package with quilt.

Wolfgang.

#1011717#17
Date:
2022-05-27 12:48:29 UTC
From:
To:
Thank you very much for the patch :)
- Leon

#1011717#22
Date:
2022-05-27 14:51:57 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pixz, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1011717@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Leon Marz <main@lmarz.org> (supplier of updated pixz package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 27 May 2022 14:19:12 +0200
Source: pixz
Architecture: source
Version: 1.0.7-2
Distribution: unstable
Urgency: medium
Maintainer: Leon Marz <main@lmarz.org>
Changed-By: Leon Marz <main@lmarz.org>
Closes: 1011717
Changes:
 pixz (1.0.7-2) unstable; urgency=medium
 .
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
     Repository-Browse.
   * Update standards version to 4.6.1, no changes needed.
   * d/patches: Add fix-cppcheck-warnings.patch (Closes: #1011717)
   * d/control: Update maintainer email address
   * d/copyright: Update copyright years and add myself
Checksums-Sha1:
 9b3101b96e3f85c8381680a56e01a6cf6cb155d6 1849 pixz_1.0.7-2.dsc
 ed29ed0c15628b9cc66b47e367ce7856ab28ed7d 4008 pixz_1.0.7-2.debian.tar.xz
 5045f7458d799f3528588a1bcd05ece0d222d221 6539 pixz_1.0.7-2_source.buildinfo
Checksums-Sha256:
 c90fd83c693ba0b3171b0f89fc76f56cb636d499ca2a751317ceafae74254a29 1849 pixz_1.0.7-2.dsc
 649300b5afe62366eee5ccef03f0d4cb9eaeeb2f592aa6bb3b8b3d249ce556e4 4008 pixz_1.0.7-2.debian.tar.xz
 068aee0a88fb0e9c51c2fbb1ac76d00b7ac946cc883e6bb33162c8e4dbfa7fa0 6539 pixz_1.0.7-2_source.buildinfo
Files:
 8c57ab4c3bf57fdfcfc7e42daaa57099 1849 utils optional pixz_1.0.7-2.dsc
 13b0ab15f93ca0c6c9df486d6d90f3e1 4008 utils optional pixz_1.0.7-2.debian.tar.xz
 575feed72c31e6cf8999545e3bf8b9ca 6539 utils optional pixz_1.0.7-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmKQ1zgACgkQweDZLphv
fH7sQw//Vq2vsTDq4KJHK1iINLO2KtWVoCM8t9cNqQXJyFFge+sz7CLfFFIYgh0Z
AFvtbHPYCmqVW6sel9rKLseYd1DSanoCoUzOOanydP2XHNagSO5hX0X0Kz3t2Hs+
to6iPBBdc7pICpOSrh70pJGLDx4kGZB5PegLtdL5fp54MeXSZIMJeKC1ye8KVzwA
PjgAmW/bWHGA/puTsNaRspiviHLCvEoXyMZ2L5h222bWbf+lFRMzXtEUpcflXBcf
jzFVJdxSufXwIBGTreABPDyyzoDaD2gs+SJDSJmG3kNGPVAf/ihiyEjeWSQM9IEW
uwrxwnlmTqppYcGuKEUUw71EnKJJ+wQLUm1eqcX+sqiknEtvAbcoDDz2IxisgOup
RQemm5re7vj+74vM9Gbpox/uDt1DapsZf70i1FqfRoKh/l9vdK8KluSXW1QWw4Qu
j6fhesDObhJ1sKCJQ+VxDrFXotVprUo4R2XcLK8PlYrTaXunusLpo0g3yR+VEaSH
EWLQgMVKAIzPf4ScpvnCGcXmjrSO9iD62NywdgM740S8bw5i8kasAiSUVoooTP3T
jTHL/woe+LejU5FA378WpGdx5XEHL+luU1Agbtq/DfGClnHRghpX9IGB60yajwg8
DOyWVF6Iz3RQJcRW9optiUqIVgb6ZLKM9dG2AE99A6iauE/Qb9M=
=NRsy
-----END PGP SIGNATURE-----