Your message dated Fri, 06 Dec 2024 13:20:46 +0000
with message-id <[email protected]>
and subject line Bug#1088242: fixed in wget2 2.1.0-5
has caused the Debian Bug report #1088242,
regarding wget2: potential misaligned memory access on 32-bit architectures
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 [email protected]
immediately.)


-- 
1088242: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088242
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wget2
Version: 2.1.0-4
Severity: important
Tags: upstream ftbfs sid trixie
Control: block 1086111 by -1
Control: forwarded -1 https://gitlab.com/gnuwget/wget2/-/issues/684
X-Debbugs-CC: Andreas Tille <[email protected]>, Paul Gevers <[email protected]>

Dear maintainers,

currently, two tests from wget2's test suite (test-wget-1 and test-timestamping) may fail on 32-bit architectures due to a bug in the setup of wget2's option parser. This might lead to misaligned memory access as can be seen in the armhf build log [1] at least:

options.c:359:28: runtime error: store to misaligned address 0x00c1d26c for 
type 'long long int', which requires 8 byte alignment
0x00c1d26c: note: pointer points here
  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 
00 00 00 00 00 00 00
              ^
Unexpected error code 1, expected 0 [--chunk-size=3]

I have tracked down the bug to a bad typecast from '(size_t *) &config.chunk_size' to '(long long *)'. While both 'long long' and 'size_t' have 64 bits on 64-bit architectures, their memory size differ on 32-bit architectures: 'long long' still has 64 bits but 'size_t' has only 32 bits.

As there is more than one way to fix it, I have opened a ticket upstream to let the authors know about it and to discuss their preferences on how to fix it.

Best regards,

Thomas Uhle


[1] 
https://buildd.debian.org/status/fetch.php?pkg=wget2&arch=armhf&ver=2.1.0-4&stamp=1727628282

--- End Message ---
--- Begin Message ---
Source: wget2
Source-Version: 2.1.0-5
Done: Thomas Uhle <[email protected]>

We believe that the bug you reported is fixed in the latest version of
wget2, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Uhle <[email protected]> (supplier of updated wget2 
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 [email protected])


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

Format: 1.8
Date: Fri, 06 Dec 2024 13:31:14 +0100
Source: wget2
Architecture: source
Version: 2.1.0-5
Distribution: unstable
Urgency: medium
Maintainer: Noël Köthe <[email protected]>
Changed-By: Thomas Uhle <[email protected]>
Closes: 1088242 1089154
Changes:
 wget2 (2.1.0-5) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Andreas Tille ]
   * Save binary gmo files which are uselessly shipped in upstream tarball
   * d/gbp.conf: Use pristine-tar
 .
   [ Thomas Uhle ]
   * Apply patch from upstream to fix chunk_size conversion on 32bit arch
     Closes: #1088242
   * Build  with bzip2 support
     Closes: #1089154
Checksums-Sha1:
 26a8e1962ead73321b50d45d642c63d140dd9b67 2216 wget2_2.1.0-5.dsc
 8912cce8736e73515ebc69eb02a47e48a9a731ca 5660 wget2_2.1.0-5.debian.tar.xz
 4545e26c1037de090576fabacfe327e0e362ee18 12374 wget2_2.1.0-5_amd64.buildinfo
Checksums-Sha256:
 f1a792601372425b5c5d5e9a28ed122842058225709fb79eccdb93f15cfa27f4 2216 
wget2_2.1.0-5.dsc
 d74040614998ae954865d0e4d96745be5a2cd7596ae8d75776e4203d8f9255e0 5660 
wget2_2.1.0-5.debian.tar.xz
 75d9373c9fc92b399ce7b997623f993cac3526a3aebd98ef4d9c0488905a93ba 12374 
wget2_2.1.0-5_amd64.buildinfo
Files:
 4f09cf58b56204f5ecd6e2a0cac485da 2216 web optional wget2_2.1.0-5.dsc
 dfa4b9b59acf1c7b3c156a20dc64df06 5660 web optional wget2_2.1.0-5.debian.tar.xz
 7d311cd1372577a16d76ba6bf7c80ae2 12374 web optional 
wget2_2.1.0-5_amd64.buildinfo

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

iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmdS9dYRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtGUzRAAix4ufHw9egot8NSO7nn9Iw+AkpkIB78k
e/5rU1AlOJtIrk6Vcz252y0wmOt82jZabSPfeMlobPeX0ILMIq0qZyLpx1YvOT9B
ejzV/svVwpOcSx7LjlGJEkSGjSXRpvR5Lgei2W7nJXxn+gKeJSCTPUNwOXDPv9Ft
8UMmND1szDyxFKRvJb7QLlU7nYsTrilGv5I20b+u/VPN4q3eYcLKhV7PccqEHTDp
E9sYNVFCglk+oJvWSlRXtcGlZaH/68gHVYNj6XjOaKw35Cdikd2J691GgwrRL10N
ry6TBBxc5+JjiHn3x/iH5Fclo/VpvYnbqAvxaUCrZdO0KUU+lxApeC4Hw6nXw1eo
4P1v1y6VZOme20ri72yHtgXx87vV0bSpbxaGUiVc+Fc9V1c1V1iLp3IOe3/LQvXX
qcD8OmPs9QdGBa/+HxwvrfL6Sw3sFpsXLKOqI0WsYL/OK7aKVvEqI21eIXa3arlP
h/2RSKxUcnTYgn0vBQyd/G8tExdt327pzY3VXXNiRJL3IGHfn2fviqbNn5PHJf84
7i+cJSltg/PrE5+UQRzLAM29AhU/l3CFbgRzMsGEkz1iDE/POjwFIkrN96H2/ErQ
Czh9ZU35jo0TMvF7cNHFn773aZxgi4BIrVpYiCf++uMYHAwO5bmfBwEipizZMVl/
2TFcR7aMGno=
=lNI4
-----END PGP SIGNATURE-----

Attachment: pgpPaxaAHRdf9.pgp
Description: PGP signature


--- End Message ---

Reply via email to