[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#842635: marked as done (Incorrect output on i386 due to UB)



Your message dated Fri, 12 May 2017 09:18:33 +0000
with message-id <E1d96iX-0008QQ-3t@fasolo.debian.org>
and subject line Bug#842635: fixed in docbook-to-man 1:2.0.0-36
has caused the Debian Bug report #842635,
regarding Incorrect output on i386 due to UB
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
842635: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842635
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: docbook-to-man
User: reproducible-builds@lists.alioth.debian.org
Usertags: toolchain
Version: 1:2.0.0-35
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

On i386 (but not armhf or amd64), docbook-to-man inserts random
characters into the output.

e.g. it will sometimes generate an "I" instead of a literal tab.

I chased the bug around the code, and it looks like /usr/bin/instant has
some UB in main.c:

https://sources.debian.net/src/docbook-to-man/1:2.0.0-35/Instant/main.c/#L799

memcpy(&buf[1], &buf[2], strlen(buf)-1);

.. for bufs like " n\\011". The resulting buf contains \111, which maps
to capital I, eventually. Cool coincidence, eh.

Patch (for this case!) is simply s/memcpy/memmove/, but I doubt this is
the only case where this can happen.

--- End Message ---
--- Begin Message ---
Source: docbook-to-man
Source-Version: 1:2.0.0-36

We believe that the bug you reported is fixed in the latest version of
docbook-to-man, 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 842635@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <lamby@debian.org> (supplier of updated docbook-to-man 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 12 May 2017 11:02:11 +0200
Source: docbook-to-man
Binary: docbook-to-man
Architecture: source
Version: 1:2.0.0-36
Distribution: unstable
Urgency: medium
Maintainer: Chris Lamb <lamby@debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Description:
 docbook-to-man - converter from DocBook SGML into roff man macros
Closes: 842635 858389
Changes:
 docbook-to-man (1:2.0.0-36) unstable; urgency=medium
 .
   * Adopt package.
   * Prevent undefined behaviour in memcpy parameter overlap; docbook-to-man
     can insert random characters into the output. e.g. it will sometimes
     generate an "I" instead of a literal tab. Thanks to Chris West
     <solo-debianbugs@goeswhere.com> and Yuri Gribov <tetra2005@gmail.com>
     (Closes: #842635, #858389)
   * Update Vcs-{Git,Browser}.
   * Tidy debian/rules.
   * Bump Standards-Version to 3.9.8>
   * Bump Debhelper compatibility level to 10.
   * Refresh all patches with `pq import` -> `pq export`.
   * Add myself to debian/copyright.
 .
   Debian-Bugs: #842635 #858389
Checksums-Sha1:
 253c76894c124ffb1fb585a09356b76633c52ca6 1890 docbook-to-man_2.0.0-36.dsc
 46e477ec1dad712153728e594807ff32ffcd025b 21828 docbook-to-man_2.0.0-36.debian.tar.xz
 f9aecde2b4d5cda86de357beba6259b5bab3938b 5644 docbook-to-man_2.0.0-36_amd64.buildinfo
Checksums-Sha256:
 1ff6e5c22512e75bb9d51b527bab5df23d955491d23cc221ff22d3bbed315041 1890 docbook-to-man_2.0.0-36.dsc
 6ea7a4ce491c6629090c2e3d6f19cfd88d66ea63c74601e754b21cb45596a5b5 21828 docbook-to-man_2.0.0-36.debian.tar.xz
 f6017c6b1f37ee73854cc19ab8fd07593b617cbb64d496d547e485ecd38a44d0 5644 docbook-to-man_2.0.0-36_amd64.buildinfo
Files:
 12bfa07458262fe9c22a655e93c44ac5 1890 text optional docbook-to-man_2.0.0-36.dsc
 83d41cf01ad8a79baff03963396a0490 21828 text optional docbook-to-man_2.0.0-36.debian.tar.xz
 f559c7f664fc2bb86fdfc876400d66aa 5644 text optional docbook-to-man_2.0.0-36_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlkVejEACgkQHpU+J9Qx
HliLxg//an01IIb7RW+gbGwlN+USf/S3+TsCziFB1B9B/YzqiBo28LLiOTssmYnA
LPnapkJMtBoGFQYhc82Jvh4Xi63IW3AQQDSa03fdzdpBqLgFK1ymUC5X5Io4GJ/d
ucHNRjAjxMnzf609TVfdIgkgWME+S9uwGCUxFzkhbuyx/RMIRGoQHyDhLNXw+ZM5
v0yX7AFRYFEV32+loiRQnYetKjJdeT0LvwXjMjUv8C/TOBTWsbiHrxVmmleYlqAl
OzCLYivOTilK06wfqR+I2XcuQFbrPNGJ/GVSq1SYPcXqlXjwReRGo0ELrqaDiWu9
V5EMsq8MpqnexoLSWBUkqxV1LJi7s9C2MruSLSJ+UAep21RVIMlub0FEoLfgEhOI
5RM6qj7cQol4cUG4KpzSrSzoI5WRRld48JHaFEYZeHI+4D+FoykBmraQl1SmR4JJ
6ppl9aryLtLeNIMk4LmX3+ZvPzJQ+94OxIoeID1iiKIAfQoM7u0wH5cxnmM2ERiD
cdDBIlCL63XeZ6QWF1wbZPJk1wJtG61cuyPOq7cC0ack6KWR4pohw5uZH3YfzodG
OUEH4MsyhqvAG9x+jQ+OJgDfEZ7BVgLOh4EMUzUDkeiDCXbQTXwHdfZI+UvxdN+9
QqUK91ZmLQgpKY2HWggbatclE5rIeonYj0hdKbzRUWVORUFhd50=
=ctA6
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: